Ruby on Rails Monday, July 30, 2012


 I have google I found that by specifying `rails _2.3.10_  new demo`  will help but is not working instead it creating \


the 'new' command did not exists in rails before rails 3, back then there was a different script for  generators

script/generate controller

is now 

rails g controller


so back then the 'rails' script was only for making apps, now it accepts commands like generate, destroy and more. If you want to see who to use it in rails 3 check out this link
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment