Explore tweets tagged as #rubyonrails
@napo
Maurizio Napolitano
23 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
2 days
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
4
16
168
@RubyCademy
RubyCademy
17 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
@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
4
90
@RubyCademy
RubyCademy
30 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
11
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
@RubyCademy
RubyCademy
20 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
8
93
@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
@coorasse
Alessandro Rodi
25 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
@vibol_teav
vibol
7 days
Tweet media one
0
1
3
@hschnedlitz
Hans Schnedlitz
1 month
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
@RubyCademy
RubyCademy
25 days
Interesting point!. These days, there are actually plenty of platforms where you can deploy a Rails app with a simple git push and buildpacks already set up. You usually don’t need to spend hours fixing system dependencies anymore. What's your take on it? πŸ€”. #rubyonrails
Tweet media one
4
2
29
@realdooba
Jacob Duba
4 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
@hschnedlitz
Hans Schnedlitz
17 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
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
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
2
75
@RubyOnRailsBa
RubyOnRails.BA
3 hours
A Rubyist's Introduction to Character Encoding, Unicode and UTF-8 (from 30/01/2020) #ruby #rubyonrails #programming #Rubyist's #Introduction #Character #Encoding, #Unicode #UTF-8
0
1
1
@RubyCademy
RubyCademy
13 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
@smuui_
Scott ⚑
5 days
Shipped some well overdue UI updates (hint: #tailwind) for Radius recently, with more on the way - check them out! πŸ‘‰ #buildinpublic #rubyonrails
Tweet media one
1
1
4