Chris Oliver - Powerful Rails Features You Might Not Know - Rails World 2023
An unbelievable amount of features are packed into Rails making it one of the most powerful web frameworks you can use. @GorailsTV creator Chris Oliver takes a look at some little known, underused, and new things in Rails 7.
A few of the topics covered:
- ActiveRecord features like “excluding”, strict_loading, virtual columns, with_options, attr_readonly, etc
- ActiveStorage named variants
- ActionText embedding any database record
- Custom Turbo Stream Actions with Hotwire
- Turbo Native authentication with your Rails backend
- ActiveSupport features like truncate_words
- Rails 7.1’s new features: authentication, normalizes, logging background enqueue callers, and more.
Slides are available at: gorails.com/blog/rails-world-2023-powerful-rails-features-you-might-not-know-talk-slides
Links:
rubyonrails.org/
rubyonrails.org/2023/10/5/Rails-7-1-0-has-been-released
#RailsWorld #RubyonRails #Rails7 #opensource #OSS #Rails #ActiveRecord #ActiveStorage #activesupport
Thank you Dell APEX for sponsoring the editing and post-production of these videos. Visit them at: dell.com/APEX
Пікірлер: 45
I know that guy!
@JustBCWi
7 ай бұрын
He kind of looks familiar. Wasn't he on the Netflix documentary America's Hottest Rails Developers? Great presentation, Chris. Glad to see the community coming together for the 2nd coming of Rails. :)
@xiaohui-dev
6 ай бұрын
Me too
I"m only 7 minutes in and have been doing Rails since pre-release and I've learned 3 new things!
Nice to see my favorite teacher here
i follow Chris long time ago and in my humble opinion, Chris's one of the best rails developer out there, he always shows great tips
man I love Rails ❤
All these rails world talks have been 🔥
26:00: I paused the video, switched to my text editor, replaced a couple lines I just wrote 1H AGO by `all_year`, `all_month` and `all_day`. Looks much nicer, thanks. Went back and clicked play for more goodies :)
@threeprongedfork7061
3 ай бұрын
I did the same thing today with the .excluded method 😂
So much gold in this talk! 😍 I really enjoyed it and definitely learned a few new tricks; thanks!
During this video, I stopped a couple of times to check how I implemented things and could even improve some of my code! Thanks Chris!
Awesome as always @excid3, and congrats on the Luminary award. Much deserved.
Love it!!!
amazing talk🙏
Awesome things. Noted a few into my day to day toolbox!
Great talk Chris 👏
Wonderful! Thanks Chris, for sharing such valuable stuff.
Great tips, thanks for sharing Chris.
I love this stuff. Thanks Chris.
Great talk! Amazing tips! ❤
Thnx a lot, Chris!
Great talk by a legend!
You're the man Chris!
Thanks I learned a lot from this! Great presentation.
Great tips, thanks!
Awesome!
Awesome stuff! 🔥 Thank you Chris!
@excid3
7 ай бұрын
Glad you enjoyed it!
so much useful features... thanks for enlightening and congrats on luminary award ... the one had to be yours.
Thanks Chris, your explanations were so clear and helpful. You are great. Do you explain these new features in detail in goRails?
@excid3
6 ай бұрын
Yep we've been recording screencast on almost all of these
❤ed it
Nice! Not a rails dev, but still cool to see what's going on on the rails framework. One thing that's kinda strange, is how the framework seemed to be including rich text editor stuff out of the box. Not sure if I caught that right, but I would think this would seem to be more appropriate as a first-party official library or something but not included framework in every framework install.
@JustBCWi
7 ай бұрын
ActiveText, the RTF you mention, is not included with every framework install. In the Magic of Rails video, Eileen discusses the modularity of Rails capabilities. There's a core set of capabilities that make up Rails, but a lot of optional capabilities. Some of those can be incorporated into non-Rails Ruby applications See kzread.info/dash/bejne/oKqpssusdLSXmKw.htmlsi=CbbXzgpd6BKHm0yb&t=542 for that video
Marked❤
What's the timestamp for the topic "Turbo Native authentication with your Rails backend"?
It seems tha your voice was quavering at some points. Were you nervous there? @chris
@excid3
7 ай бұрын
Of course! I don't have a real audience when I record screencasts at home. 😜
@joshvandergrift
6 ай бұрын
@@excid3 Legend! Hope to see more talks like this!
The biggest issue that Rails helpers has is the mountain of undocumented stuff. The Rust and Go community are great at documenting their stuff. Can we be like that as well?
@excid3
6 ай бұрын
Start making pull requests!
@abraham7966
6 ай бұрын
Indeed I should!!! By the way. Amazing talk if not, the best one. Super useful!! I have worked with Rails for over a decade and many of these helper methods are new to me!
@abraham7966
6 ай бұрын
@@excid3 By the way, can you direct me to the repo where the docs are?
A legend 👏🏽 awesome talk! Thanks @excid3