Rails application with specific database

To create a rails application with specific database can create like this

Syntax :- rails -d database app name

Example:- rails -d mysql demo

The above command creates a rails application with the database mysql with the latest version version of rails gem in your harddrive. In the same way you can pass any database name oracle, sqlite, postgresql..etc

No comments: