~/talk

Checking under the Hood: A guide to Rails Engines

slides:none on file

Rails 2.3 engines let a gem supply full MVC pieces — app/controllers, app/views, app/models — so reusable features can install routes, controllers and view templates; limitations include no migrations or public assets in the engine and the application’s paths win over engine files, so app paths override engine. Namespacing avoids class collisions. Engines can add rake tasks and require manual file copies for static files; example shipped is queso dynamic-search engine that marks a model searchable, provides UI and helper integration and works as a toy but needs manual asset and migration handling.

AI-written summary · about

  1. 0:00Start
  2. 1:27Remember 2004?
  3. 1:58Rails Application?
  4. 2:23Remember 2006?
  5. 2:51Rails Plugins, then
  6. 3:35Rails Plugin, now
  7. 4:34Loading Rails...
  8. 4:53Remember 2009?
  9. 5:06Rails Engine (2009)
  10. 5:41Engines and MVC
  11. 6:34Models
  12. 8:10Controllers
  13. 8:43View
  14. 10:28Example init.rb
  15. 10:47Limitations
  16. 11:29Notable Engines
  17. 12:57Queso
  18. 14:38Conclusion
~/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.