Pages

Tuesday, January 4, 2011

Today i learn about mysql and database connectivity

$  sudo gem install rails --v=3.0.3
                     [this is the procedure of rails installation]
             (Database connectivity)
                           rails new sample
                            $rails generate scaffold student name:string date_of_birth:number fathername:string mothername:string

$rails server
$rake db:migrate

No comments:

Post a Comment