~/talk

Rails 5 Features You Haven't Heard About

Talkat Ancient City Ruby 2016 · 2016-04-06..04-08· [ruby-on-rails, web-platform]
slides:none on file

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

  1. 0:00Introduction to Rails 5 features
  2. 2:53Story behind Attributes API
  3. 6:26ActiveSupport left-pad gem
  4. 7:08OR expressions in Active Record
  5. 9:58Preventing production DB drops
  6. 13:18Migrations API improvements
  7. 17:13Accessed fields for performance
  8. 20:25Boolean field type fixes
  9. 23:38Closing and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.