This week in Rails
Jan 11 2021
Hello 2021: Sole record, Same form multiple verbs, Validator with range, Rich text control
here, with the first newsletter of 2021, highlighting some updates to Ruby on Rails over the last few weeks. Let's jump right in!
Find and assert the presence of exactly one record
to find and assert the presence of exactly one record.
Submit the same form with different HTTP methods
This change provides the ability to post the same form with different HTTP methods. For example PUT and a DELETE requests can be made from the same form.
Validate numericality with a Range
A Ruby range can now be provided as part of a numericality validator.
Improve Action Text extensibility
Allow the HTML surrounding rich text to be customized while retaining private control over how the rich text itself is rendered.
Consistently render button_to
Change Action View helpers to always render a
Add stats to Redis Cache Store
method that is similar to
Add option to disable the Link header
was added to allow disabling of the Link header when using
Fix: Respect getter overwrites in the model
will now respect the getter overrides defined in the model.
contributed to Rails over the last several weeks. Check out the
to get involved and help out. Until next week!
Autumn is here, and so is Rails 7 Alpha 2! 🍂
Rails 7 alpha released
Bye-bye Byebug, Hello jsbundling and cssbundling!
Remove default reliance on Sass and more!
Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!
ESM importmap and Marginalia
Active Record goodies and more!
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Active record improvements and much more
Performance and parallel testing improvements and more!