Rails

Rails Deprecated Associations with Reporting

Rails introduces a deprecated option for associations to log warnings, raise errors, or send notifications.

Rails Self-Join UPDATE for Outer Joins

Rails no more generates the subqueries as it uses self-join for `UPDATE` with outer joins on PostgreSQL and SQLite.

Rails 8 adds built in authentication

Rails 8's built-in authentication generator offers a lightweight, secure alternative to Devise with full control.

Rails Stops Generating bin/bundle Binstub

In new Rails applications, the bin/bundle is no longer included by default, as managing the correct Bundler version is now handled directly by RubyGems.

Rails 8 Removes Default Channels Folder

With Rails 8, channels folder dropped from default app/ structure as Hotwire is default in Rails.

Rails ActiveModel Normalization

Rails brings attribute normalization to ActiveModel, allowing custom formatting rules for model attributes.

Rails Strong Parameters Deep Dive

Explore Rails Strong Parameters, their role in preventing mass assignment vulnerabilities, and how they enhance security and maintainability.

Rails 8 Script Folder and Generator

The new script folder to hold one-off or general purpose scripts, such as data migration scripts, cleanup scripts and a scripts generator.

Rails 8 ISO 8601 TimeWithZone#inspect

Rails 8 ensures TimeWithZone#inspect aligns with Ruby standards, ensuring time formatting consistency across the board by supporting ISO 8601 Style.

Rails 8 add_enum_value if_not_exists

Rails 8 introduces if_not_exists option on add_enum_value, we can now safely add a new enum value, preventing errors if the value already exists.