Learning ROR: Part-2 Ruby On Rails Commands

Rails, Ruby, Ruby on Rails Voice your views   , , , ,

Here are some of the most used Ruby on Rails terminal Commands,

gem update rails – Update rails

rails application – Create a new application

rake appdoc – generate documentation

rake –tasks – view available tasks

rake stats – view code statistics

ruby script/server – start ruby server at http://localhost:3000

ruby script/generate controller Controllername

ruby script/generate controller Controllername action1 action2

ruby script/generate scaffold Model Controller

ruby script/generate model Modelname

Add a Comment

%d bloggers like this: