Explore tweets tagged as #rubyOnRails
@RubyCademy
RubyCademy
19 days
Prefer `rails db:seed:replant` when you just need a clean reseed in dev, as it simply truncates tables, then seeds. It's way faster. #rubyonrails
Tweet media one
2
9
93
@RubyOnRailsBa
RubyOnRails.BA
17 hours
What you can do with Ruby on WebAssembly - Speaker Deck (from 01/08/2025) #ruby #rubyonrails #programming #WebAssembly #Speaker #webassembly
0
0
0
@RubyCademy
RubyCademy
1 month
Since Rails 7.2, you can now pass a hash to `ActiveRecord::Base#pluck`! 🀯. #rubyonrails
Tweet media one
0
7
68
@napo
Maurizio Napolitano
22 days
Hey, #RubyonRails dev with love for @openstreetmap and geo!.Time to become the core engineer of the world’s most important #opengeodata platform. Apply now: . #OpenSource #GeoTech #RemoteWork #JobOpportunity #Hiring
Tweet media one
0
4
10
@RubyCademy
RubyCademy
29 days
Take advantage of:. ➑️ the Rails::Console class.➑️ and IO.popen. to add a `pbcopy` helper that copies any console result to your clipboard! 🀩. #rubyonrails
Tweet media one
3
12
71
@Giovapanasiti
Giovapanasiti
3 months
Level up your #RubyOnRails Active Storage game! . πŸŽ‰ Thrilled to unveil active_storage_dashboard – a GORGEOUS, modern dashboard to effortlessly monitor blobs, attachments, stats & more! ✨. βœ… Sleek UI .πŸ“Š Insightful stats.πŸ” Easy inspection.🚫 NO external JS/CSS deps!. Install
Tweet media one
18
48
216
@onedevdeving
Devin Starks
2 months
Fun fact: .11% of all traffic to api\.rubyonrails\.org is generated by ActiveRecord::Enum docs. I guess something about Rails enums is hard to remember?. TIL that enums also define negative scopes! Drop a comment if this was news to you too
Tweet media one
9
5
90
@realdooba
Jacob Duba
2 days
Meet VIPReply - reply to customers emails in a few clicks. This demo shows me answering 3 customer emails effortlessly. Built with:.#rubyonrails for web framework.@PostgreSQL for relational database.@VoyageAI by MongoDB for text embeddings .@GroqInc for Kimi K2 inference
1
1
2
@RubyCademy
RubyCademy
16 days
Take advantage of `Array#inquiry` for more expressive and idiomatic code! 😊. For example, here we use it to simplify feature toggling by avoiding constantly writing `include?('feature_name')`. #rubyonrails #activesupport
Tweet media one
1
8
86
@RubyCademy
RubyCademy
13 hours
Avoid giant `IN` lists with thousands of IDs. Pass a relation instead, and let Rails turn it into a clean subquery for better performance. πŸ’š. #rubyonrails
Tweet media one
2
9
111
@RubyCademy
RubyCademy
12 days
Rails 8 adds `attribute_writer_missing`! πŸ’š. It's definitely helpful when you’re transitioning away from old fields but still receive them in legacy payloads!. #rubyonrails
Tweet media one
0
2
37
@hschnedlitz
Hans Schnedlitz
16 days
TIL about Stimulus shouldLoad 🀩 . Exceedingly handy if you have some controllers that should only load under certain conditions. For example, only on mobile devices (e.g. to provide additional interactions). #ruby #rubyonrails
Tweet media one
0
3
61
@hschnedlitz
Hans Schnedlitz
2 months
Ruby Schema Store is pretty nice 🀩 . If you're using Neovim and want to get nice validations for your Rails YAML files, here's how you can set things up. This is LazyVim and lsp-config, but you should be able to get things done with a different setup too. #rubyonrails #nvim
Tweet media one
Tweet media two
1
4
30
@hschnedlitz
Hans Schnedlitz
1 month
Moving your 4-year-old Rails engine to Importmaps is. fun 🀑 . We're getting there, just takes a while. #rubyonrails
Tweet media one
4
1
26
@hschnedlitz
Hans Schnedlitz
30 days
I've been writing a bunch of ViewComponents recently. This little helper comes in handy! πŸ”§ . It's crazy how much more pleasant small QoL helpers make development. #rubyonrails
Tweet media one
7
4
68
@RubyOnRailsBa
RubyOnRails.BA
2 days
The Rails Renaissance | Hashrocket (from 13/09/2024) #ruby #rubyonrails #programming #Rails #Renaissance #Hashrocket
0
0
1
@hschnedlitz
Hans Schnedlitz
1 month
Custom Turbo Stream actions are great πŸ‘Œ . So when is the right time to move to state management on the client? Probably never. #rubyonrails
Tweet media one
3
3
75
@RubyOnRailsBa
RubyOnRails.BA
3 days
Code Reloading for Rack Apps | Jared Norman (from 01/08/2025) #ruby #rubyonrails #programming #Reloading #Jared #Norman #code
0
0
0
@coorasse
Alessandro Rodi
24 days
Test your seeds. It doesn't take more than this and will make sure that your seeds are always working. You are welcome. #rubyonrails
Tweet media one
1
4
36