Rails: ruby script/generate model, where are the docs?
Posted
by yar
on Stack Overflow
See other posts from Stack Overflow
or by yar
Published on 2009-02-05T01:51:34Z
Indexed on
2010/04/25
22:53 UTC
Read the original article
Hit count: 168
ruby-on-rails
|scriptgenerate
I am running
ruby script/generate scaffold
or
ruby script/generate model
and I know the basic syntax, like
ruby script/generate scaffold Dude name:string face:boolean
but I do not know things like:
- should names of variables have underscores or be camelCased?
- what kind of variable types are acceptable?
Where can I find such information?
THANKS!
P.S. The answers to my two questions would help for now, too :)
© Stack Overflow or respective owner