You can use an infinite range in `case/when` to express "N or more" in a clean, readable way! ๐คฉ
๐ launchkit.codes
In Rails 8, adding a `!` to a type automatically makes the column non-nullable.
These small additions are what make Rails great! ๐
๐ launchkit.codes
Tired of the default Rails DB console?
In Rails 8, you can now customize it! ๐ #rubyonrails
๐ launchkit.codes
In Rails 8, you can now access your notes directly in the browser by visiting `GET /rails/info/notes`!
Small details like this are why we love @rails! ๐
โจ RUBYCADEMY CARDS โจ
Rails has a `halted_callback_hook` that fires whenever a before_* callback halts. ๐คฉ
Super handy for debugging and logging!
#rubyonrails
Rails 7.1 added a neat little upgrade to rails routes --expanded: Source Locations! ๐
Now you can instantly see exactly where each route is defined in your codebase.
#rubyonrails
Helpers like these are exactly why we love Rails! ๐
#rubyonrails
Can You Solve This Ruby Interview Question?
๐ youtube.com/watch?v=q9lxGwWiโฆ
Ruby makes it so easy to keep user input within a safe range using `clamp()`! ๐
Perfect for forcing a value between MIN and MAX without extra ifs.
๐ launchkit.codes
Done in just 7 lines of Ruby! ๐คฏ
๐ youtube.com/watch?v=PahRQGRKโฆ
Rails 8 added `except_on:` for validations! ๐คฉ
A clean way to say "always validate, except in this context."
It is simpler than `if:` or `unless:` and perfect for drafts, multi-step forms, or any workflow where some fields can be missing!
๐ launchkit.codes











