๐ŸŽ“ Learn Ruby โ†’ https://xitter.cf/t.co/W5onCJ3v7Z ๐Ÿ› ๏ธ Boilerplate โ†’ https://xitter.cf/t.co/ElyZnSyYTh

Joined October 2018
You can use an infinite range in `case/when` to express "N or more" in a clean, readable way! ๐Ÿคฉ ๐Ÿ”— launchkit.codes
16
737
In Rails 8, adding a `!` to a type automatically makes the column non-nullable. These small additions are what make Rails great! ๐Ÿ’š ๐Ÿ”— launchkit.codes
1
1
14
836
Tired of the default Rails DB console? In Rails 8, you can now customize it! ๐Ÿ’š #rubyonrails ๐Ÿ”— launchkit.codes
2
19
1,021
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! ๐Ÿ’š
3
30
917
โœจ RUBYCADEMY CARDS โœจ Rails has a `halted_callback_hook` that fires whenever a before_* callback halts. ๐Ÿคฉ Super handy for debugging and logging! #rubyonrails
4
30
946
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
3
34
1,450
Helpers like these are exactly why we love Rails! ๐Ÿ’š #rubyonrails
1
1
20
984
Can You Solve This Ruby Interview Question? ๐Ÿ”— youtube.com/watch?v=q9lxGwWiโ€ฆ
2
12
922
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
1
2
33
1,496
Done in just 7 lines of Ruby! ๐Ÿคฏ ๐Ÿ”— youtube.com/watch?v=PahRQGRKโ€ฆ
1
13
1,320
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
1
5
1
58
2,425