Script/generate builtin commands

Hi,

I am new to Ruby on Rails. I’m trying to find resources to read
regarding the difference between generate scaffold, model, controller
and resource commands.

Could anyone please help? Thanks!

Kevin.

Have you read each generator’s description? It gives you a pretty good
explanation. If you haven’t here’s how to do it:

ruby script/generate resource
ruby script/generate controller
ruby script/generate model
ruby script/generate scaffold


Thiago J.
http://www.railsfreaks.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs