Rails convention while creating model using `rails g`

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 write rails 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

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