Rails 5 Features You Haven't Heard About
summary
Rails 5 arrives after almost a thousand commits and adds many small but concrete changes: a new typed attributes API that centralizes type casting and enables encrypted-column workflows, a Relation.or method to union two relations and favor reusable named scopes, ActiveRecord ignoring DATABASE_URL by default while tracking environment in internal metadata to prevent accidental destructive ops, migration files tagged with the Rails version to preserve migration DSL behavior, accessed_fields for finding unused columns, and a flipped boolean-casting blacklist.
AI-written summary · about
chapters (9)
- 0:00Introduction to Rails 5 features
- 2:53Story behind Attributes API
- 6:26ActiveSupport left-pad gem
- 7:08OR expressions in Active Record
- 9:58Preventing production DB drops
- 13:18Migrations API improvements
- 17:13Accessed fields for performance
- 20:25Boolean field type fixes
- 23:38Closing and Q&A
related talks
34mRails 5 Features You Haven't Heard About
26mHidden Features of Rails 5
40mRails 5.1: Awesome Features and Breaking Changes
53mRuby 2 in Ruby on Rails
42mPowerful Rails Features You Might Not Know
53mRuby 2 in Ruby on Rails
38mDesigning a Great Ruby API - How We're Simplifying Rails 5
24mThe Rails Features we Loved, Lost, and Laughed at
