I am very new to Rails. While I am reading a tutorial, I often used
rails g controller animal
. Now my question is - Can I write rails g controller Animal
? If not what is the reason or Why such convention ?
On 25 December 2013 11:33, Love U Ruby [email protected] wrote:
I am very new to Rails. While I am reading a tutorial, I often used
rails g controller animal
. Now my question is - Can I writerails g controller Animal
? If not what is the reason or Why such convention ?
Try it and see. Does it make any difference to the classes or files
generated?
Let us know the answer.
Colin