~/talk

Powerful Rails Features You Might Not Know

Talkat Rails World 2023 · 2023-10-05..10-06· [ruby-on-rails]
slides:none on file

Covers concrete Rails 7 and 7.1 features and how to use them: use excluding to drop records without raw SQL, enable strict_loading on associations to raise N+1 errors, and embed models via ActionText attachments using SGIDs. Shows generated columns, attr_readonly, with_options, custom Turbo Stream actions (browser notifications), ActionMailbox inbound reply handling, authenticate_by for timing-attack resistance, normalizes for setters, token generation with expiration, and Active Storage named variants with preprocessed background jobs. Examples include code snippets and end-to-end workflows that run in production.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Excluding users in Rails 7
  3. 2:12Strict loading in Active Record
  4. 3:41Generated columns in Rails
  5. 5:07Read-only attributes
  6. 5:48with_options in Active Support
  7. 6:51Safe navigation with try
  8. 7:32Embedding models with Action Text
  9. 11:50Serializing custom objects
  10. 12:56Action Mailbox for emails
  11. 15:24Routing constraints
  12. 16:53Devise routing contributions
  13. 17:38Drawing routes in separate files
  14. 18:43Custom Rails generators
  15. 20:50Custom Turbo Stream actions
  16. 22:59Active Support string helpers
  17. 24:24Time comparison helpers
  18. 26:08Date range helpers
  19. 27:11Abbreviated number formatting
  20. 31:06Rails 7.1 new features
  21. 32:08String inquiry in Rails
  22. 32:31Unused routes in Rails
  23. 33:13Template strict locals
  24. 34:38Normalizing attributes
  25. 35:43Secure password improvements
  26. 38:16Password challenge validation
  27. 38:38Token generation in Rails
  28. 39:43Active Storage variants
  29. 41:29Staying updated with Rails
~/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.