Rails

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.

Rails 8 Parameters#expect Method

Learn how Rails 8's Parameters#expect enhances parameter handling to safely filter and require params, improving security and reducing application errors.

Rails 8 drop_table Accepts Array

Rails 8 allows dropping multiple tables in one call with drop_table by accepting an array of table names in a single migration.