You might like
Goodbye, RubyCademy 👋 RubyCademy was a project I built out of passion. I shared everything I learned with the genuine desire to help others, just as many helped me grow as a Ruby developer. Over time, our website grew to more than 12,000 users, most of them on free limited…
Since Rails 7.2, `ActiveRecord::Base#pluck` supports hash values as arguments! 🤩 #rubyonrails #activerecord
Did you know that `Time#utc` modifies the receiver? 😱 Use `Time#getutc` instead. #rubyonrails
🚨 Rails 8 Breaking Change `stringify_keys` now stringifies all keys, not just symbols! 😮 This could break things silently if you’re not careful. #rubyonrails #activesupport
✨Don't Overcomplicate Refactoring ✨ Simple reflexes can boost code readability! ➡️ Store roles and permissions in a hash for lookups ➡️ Use with_indifferent_access for string/symbol keys ➡️ Use Hash#fetch for lookups and error handling #rubyonrails
Did you know you can implement a complete Configuration pattern with `ActiveSupport::Configurable`? 🤩 We also use the `configure` macro to set default values elegantly. #rubyonrails
No more slow bundle installs! 🤯 Use the `MAKE` environment variable and the `nproc` command to dramatically speed up your `bundle install`! #rubyonrails
Did you know you can use an infinite range in `case/when` to express "N or more" elegantly? 🤩 #rubyonrails #ruby
Don’t bother using `create_table` for join tables. Use `create_join_table` instead! 🙏 #rubyonrails
In Rails 8, you can now access your notes directly in the browser by visiting `GET /rails/info/notes`! Small details like this are why we love @rails! 💚 #rubyonrails
Thought of the day: Code as if there were tariffs on each ActiveRecord query you write.
Tired of setting UUID as the primary key in every migration? Use this simple config and let Rails handle it for you! 🤩 #rubyonrails #activerecord
United States Trends
- 1. Thanksgiving 352K posts
- 2. Fani Willis 6,606 posts
- 3. Trumplican 2,168 posts
- 4. Golesh 1,255 posts
- 5. Hong Kong 14.6K posts
- 6. #Wednesdayvibe 3,258 posts
- 7. Elijah Moore N/A
- 8. #wednesdaymotivation 6,167 posts
- 9. Ruth 13.4K posts
- 10. Karoline Leavitt 26.5K posts
- 11. Mora 22K posts
- 12. Stranger Things 150K posts
- 13. Khabib 5,004 posts
- 14. Nuns 9,632 posts
- 15. Gretzky N/A
- 16. Good Wednesday 34.8K posts
- 17. Ribs 11.1K posts
- 18. #WednesdayWisdom 1,057 posts
- 19. BYOB N/A
- 20. Elton 8,549 posts
You might like
-
Alexandre Ruban
@alexandre_ruban -
RUBYLAND
@rubylandnews -
Rails UI
@railsui_ -
DriftingRuby
@DriftingRuby -
GoRails
@GoRails -
Short Ruby Newsletter
@shortrubynews -
Rob Zolkos
@robzolkos -
Jason Swett
@JasonSwett -
Vladimir Dementyev
@palkan_tula -
Greg Navis
@gregnavis -
Emmanuel (sub to my Rails YouTube)
@siaw23 -
Dave Kimura
@kobaltz -
IndieRails
@IndieRails -
Andrew Mason
@andrewmcodes -
Josef Strzibny
@strzibnyj
Something went wrong.
Something went wrong.