Explore tweets tagged as #rubyonrails
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
0
4
10
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
4
16
168
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
1
8
86
Take advantage of:. β‘οΈ the Rails::Console class.β‘οΈ and IO.popen. to add a `pbcopy` helper that copies any console result to your clipboard! π€©. #rubyonrails
3
11
71
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
18
48
216
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
2
8
93
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
1
4
30
Test your seeds. It doesn't take more than this and will make sure that your seeds are always working. You are welcome. #rubyonrails
1
4
36
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
7
4
68
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
4
2
29
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
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
0
3
61
Moving your 4-year-old Rails engine to Importmaps is. fun π€‘ . We're getting there, just takes a while. #rubyonrails
4
1
26
Custom Turbo Stream actions are great π . So when is the right time to move to state management on the client? Probably never. #rubyonrails
3
2
75
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
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
0
2
37
Shipped some well overdue UI updates (hint: #tailwind) for Radius recently, with more on the way - check them out! π #buildinpublic #rubyonrails
1
1
4