Sunday, January 29, 2006

Scaffolding: Using scaffolds in Ruby on Rails

To use the power of scaffolding (aka scaffold / scaffolds), place the following line in your *_controller.rb (resource_controller.rb) file
scaffold :resouce

or generate scaffolding using
ruby script/generate scaffold resource

0 Comments:

Post a Comment

<< Home

eXTReMe Tracker