Skip to content

Instantly share code, notes, and snippets.

@wdiechmann
Created October 13, 2012 11:07
Show Gist options
  • Save wdiechmann/3884175 to your computer and use it in GitHub Desktop.
Save wdiechmann/3884175 to your computer and use it in GitHub Desktop.
With the template gone - what's next?

Pitch

Building flexible Rails apps above the obvious '15-minute blog' requires a myriad of controllers, models, views and other stuff. Moving as many as possible of these bits and pieces into the DB will liberate the application and make it able to serve diversity better!

Idea

Models could be persisted to the DB and either eager- or lazy-loaded on web-server start/reload.

Motivation

José Valím showed us in CRA how to do away with the file-based template, and I know from personal experience that REST and proper routing does make the controller easily implodeable to a single controller (handling authorization, authentication, state_machine and polymorphic associations)!

About me

I nowhere near claim to be in the know ruby-/railswise! I'm not even a good developer/coder and building stuff takes me for ever to get right, and I constantly forget the syntax - and I'm not part of the RoR nomenklatura, not even by a long shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment