~/talk

Advanced aRel: When ActiveRecord Just Isn't Enough

Talkat RailsConf 2014 · 2014-04-22..04-25· [ruby-on-rails, databases]
slides:none on file

Claim: aRel lets Rails build arbitrarily complex queries in pure Ruby instead of SQL strings, and ActiveRecord delegates query construction to it. Tools demonstrated include arel-helpers (a tiny gem with JoinAssociation and a QueryBuilder), a JRuby + Antler parsing approach, and a working web tool scuttle.io that converts SQL to Arel for SELECT queries. A surprising detail: a prior related talk drew only about fifteen people. The built tools are real and demonstrably usable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:47Interactive Exercise
  3. 12:28Arrow Helpers
  4. 13:56Does a Return
  5. 16:35Terminal Methods
  6. 17:56Named Functions
  7. 19:56Where
  8. 22:31Join
  9. 24:56Join Association
  10. 26:23Join Tables
  11. 27:00Join Teachers
  12. 27:51Order Order
  13. 28:35SubQuery
  14. 29:00Matches
  15. 30:27Query Builder
  16. 31:00Post Query Builder
  17. 31:54Since Yesterday
  18. 32:45scuttle
~/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.