~/talk

Rails 5 Features You Haven't Heard About

Talkat RailsConf 2016 · 2016-05-04..05-06· [ruby-on-rails]
slides:none on file

Most of Rails 5’s value here is concrete: the type attributes API (implemented largely in 4.2) adds an attribute class macro that accepts type objects so coercion works with where and named scopes; ActiveRecord::Relation#or accepts another Relation to encourage composable scopes; a tiny metadata table blocks accidental destructive DB commands; migrations record a Rails-version bracket so old migrations keep old behavior; accessed_fields lets code select only the columns actually used; boolean parsing tightens several ambiguous truthy values; Ransack and PGcrypto illustrate real-world workarounds tried.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Type Attributes API
  3. 2:17Why this feature was added
  4. 5:10Typecasting
  5. 9:47Active Support LeftHat
  6. 12:08Name Scopes
  7. 14:08Database URL
  8. 17:36Migrations
  9. 17:59Weak migrations
  10. 19:28Changes to migrations API
  11. 20:30Generating migrations in Rails 5
  12. 21:09Why this feature isnt free
  13. 21:35How this affects older versions
  14. 22:46Accessed Fields
  15. 22:58Access Fields
  16. 23:10Why Access Fields
  17. 25:22Booleans
  18. 25:37regex
  19. 26:07Geoff Petrie
  20. 27:51True vs False
  21. 28:07True vs False II
  22. 28:30Deprecation
  23. 29:12Diesel
  24. 29:32Questions
~/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.