.

Joined October 2018
829 Photos and videos
22 Oct 2025
Since Rails 7.2, `ActiveRecord::Base#pluck` supports hash values as arguments! 🤩 #rubyonrails #activerecord
4
68
6,631
19 Oct 2025
Did you know that `Time#utc` modifies the receiver? 😱 Use `Time#getutc` instead. #rubyonrails
3
7
78
7,514
18 Oct 2025
🚨 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
2
6
80
6,859
15 Oct 2025
✨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
2
7
56
8,172
13 Oct 2025
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
2
7
62
5,516
11 Oct 2025
No more slow bundle installs! 🤯 Use the `MAKE` environment variable and the `nproc` command to dramatically speed up your `bundle install`! #rubyonrails
4
5
89
8,649
Did you know you can use an infinite range in `case/when` to express "N or more" elegantly? 🤩 #rubyonrails #ruby
1
10
75
7,186
Don’t bother using `create_table` for join tables. Use `create_join_table` instead! 🙏 #rubyonrails
2
9
99
9,317
Did you know you can define Rails locales using a Ruby file instead of the usual YAML? #rubyonrails
4
3
44
5,341
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
6
18
139
12,447
30 Sep 2025
I love this lesser-known technique for checking if two arrays contain the same elements, regardless of order. 🤩 ⚠️: `to_set` is cool but may slow down huge datasets! 😉 #rubyonrails
4
1
36
4,593
27 Sep 2025
The Builder-to-Proc pattern is among my top 3 favorites! 💚 By defining `to_proc` on `self`, you can pass a class directly to `map`, and Ruby converts it into a builder for each element! 🤩 #rubyonrails
2
15
111
8,204
25 Sep 2025
Did you know about `up_only` in ActiveRecord::Migration? It lets you run code only when migrating up. 🤩 A simple but powerful method that deserves more attention. #rubyonrails
3
6
62
6,084
25 Sep 2025
Join RubyCademy today and dive into practical lessons you’ll actually use in your Ruby and Rails projects. rubycademy.com
1
421
24 Sep 2025
Thought of the day: Code as if there were tariffs on each ActiveRecord query you write.
2
2
32
2,880
23 Sep 2025
Tired of setting UUID as the primary key in every migration? Use this simple config and let Rails handle it for you! 🤩 #rubyonrails #activerecord
2
7
92
7,638
19 Sep 2025
Rails 8 introduced `rate_limit` for controllers. You can combine it with a `handle_rate_limit` method and a `BusyController` to centralize how you respond to throttled requests. And that's how Rails turns a messy problem into a simple solution. 💚 #rubyonrails
2
21
162
11,683