~/talk

Crushing It With Rake Tasks

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

Shows concrete Rake recipes: runs bundle exec rake db:migrate and demonstrates db:migrate:redo and rollback behavior, when editing migrations is safe, and when to drop create remigrate. Uses first_or_create for idempotent seeds, builds a CSV importer as db:seed:import_airports that converts empty strings to NULL and avoids 8,000 lookups, adds log:clear, notes and routes inspection, a db:streamlined generator task, and a Heroku pg backup download + pg_restore workflow that actually works while warning about sensitive data.

AI-written summary · about

  1. 0:00Start
  2. 0:25Barrett Clark
  3. 13:19bundle exec rake log clear
  4. 14:16bundle exec rake notes
  5. 17:27bundle exec rake rails update
  6. 23:59Streamlining Tedium
  7. 28:15Standard Security Warning
  8. 29:15DATA VISUALIZATION TOOLKIT
~/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.