RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mckenziec
I'm having a hard time finding more info on how to template a Controller. I could write a bunch of stuff to set the class name to reflect the generator name (e.g. rails g generator dumb_thing => Controller template with filename dumb_thing.rb and class name of DumbThingController) but this has to have been covered by Rails 3's generator/template support. Can you include a simple Controller in your rails cast next time please? Thanks!