expose_model

I read an “article by Stpehen Celis”:http://stephencelis.com/archive/2008/9/rails-controllers-views-and-variables way back when and liked the idea behind it, but not having to add the methods to all my controllers. So I rolled it up into a gem and can now get the same functionality by doing

class FooController < ApplicationController
  expose_model :foo
end```

and get the foo and foos methods plus the helper_methods.

You can find it on "github":http://github.com/UnderpantsGnome/expose_model/tree/master