


Senior Software Engineer @moneyforward.




💎Ruby tip💎 Did you know that concatenating strings together ("a" << "b") is a lot more performant than adding them to each other ("a" + "b") or using interpolation ("#{a}#{b}")? Especially with the recent optimizations from @_byroot and others. #ruby #rails #rubyonrails

💎Ruby tip💎 Did you know that Ruby gives you a powerful string formatter to do things like choosing the number of decimals, converting to binary, octal, hexadecimal, and a lot more? Examples ⬇️ #ruby #rails #rubyonrails

💎Rails tip💎 Did you know you could speed up your dev environment a bit by clearing up logs and temporary files? Especially when it's been a long time since it hasn't been cleared. #ruby #rails #rubyonrails

If you're curious to see how it works, here's a video we just published: youtube.com/watch?v=HizQIjdO…

After building and testing a long time RubyCompanion, it's finally open to everyone! 🎉 We are still actively working on it and more content will be coming too! rubycompanion.dev/

💎Rails tip💎 Did you know about the view helper "capture"? It allows you to store HTML into a variable and pass it down somewhere else. You don't necessarily need view_component slots to do that! #ruby #rails #rubyonrails

💎Ruby tip💎 Did you know that you can use the ampersand(&) operator with any method that require a block for some convenient shortcuts? Examples ⬇️ #ruby #rails #rubyonrails

For those curious, here’s a sneak peek of what we’ve been working on! rubycompanion.dev/
Would you be interested in a system to help you discover and remember all the cool features of Ruby and Rails? I might be working on something 😉

🚨THIS IS NOT A JOKE🚨 A brand new episode of @remote_ruby is out with @websebdev 🤘 LISTEN NOW OR RISK MISSING OUT
🎙 A new episode! "Ruby & Rails Tips with Sebastien Auriault". Listen: share.transistor.fm/s/d244e7…

💎Rails tip💎 Did you know about template variants? Useful when you have let's say one view for admins and one for normal users. Or one for mobile and one for desktop (when the views are too different to just be responsive). #ruby #rails #rubyonrails

Would you be interested in a system to help you discover and remember all the cool features of Ruby and Rails? I might be working on something 😉

S/O to @afomera for making me discover this feature!

💎Rails tip💎 Did you know Rails 7 added support for PostgreSQL generated columns? These columns will be calculated by the database only once on INSERT and UPDATE. #ruby #rails #rubyonrails