Friday, May 10, 2013

Ruby on Rails Series: 1 Get running

Setting up Rails can be quite easy.
First Install Ruby and use RubyGem to install rails
gem install rails

check
ruby -v and rails -v to see it is ok

rails new : create new application
if using scaffold it will create restful 7 method: index,show,new,edit,create,update,destroy
after making changes , migrate db using
rake db:migrate

Useful ide can be rubymine.  sqlite is default so for testing is enough, to browser sqlite using sqlite database browser.

rake routes can see all routes

Check more about IT courses at Olivet Institute of Technology


No comments:

Post a Comment