Sebastien Auriault
@websebdev
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
💎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/d244e763
💎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 😉
💎Rails tip💎 Did you know that since Rails 6.1, you can easily add a column of type interval if you use Postgres? This can be convenient if you have for example a model for recurring events with a specific duration like 5 days. #ruby #rails #rubyonrails
💎Rails tip💎 You can use infinite ranges with dates and numbers in your ActiveRecord queries. Examples ⬇️ #ruby #rails #rubyonrails
United States เทรนด์
- 1. FINALLY DID IT 589K posts
- 2. The JUP 145K posts
- 3. The PENGU 239K posts
- 4. The BONK 166K posts
- 5. The Jito 33.1K posts
- 6. Good Wednesday 32.2K posts
- 7. Mariah 40.1K posts
- 8. The WET 28K posts
- 9. #keyboard 3,254 posts
- 10. #wednesdaymotivation 2,073 posts
- 11. #jalapeno 3,220 posts
- 12. Algorhythm Holdings N/A
- 13. #NoWarYesPeace 2,756 posts
- 14. #daring 2,913 posts
- 15. Hump Day 12.6K posts
- 16. Robert E Lee 13K posts
- 17. Happy Hump 8,209 posts
- 18. Hut 8 1,532 posts
- 19. Buck Rogers 6,377 posts
- 20. Thug 28.2K posts
คุณอาจชื่นชอบ
-
Alexandre Ruban
@alexandre_ruban -
matt swanson 😈
@_swanson -
Jason Swett
@JasonSwett -
Joe Masilotti
@joemasilotti -
GoRails
@GoRails -
DriftingRuby
@DriftingRuby -
Vladimir Dementyev
@palkan_tula -
RUBYLAND
@rubylandnews -
Nate Hopkins
@hopsoft -
Andrew Mason
@andrewmcodes -
Dave Kimura
@kobaltz -
Chris Oliver
@excid3 -
Jeremy Evans
@jeremyevans0 -
Nate Berkopec
@nateberkopec -
Jean Boussier
@_byroot
Something went wrong.
Something went wrong.