Re: [Rails] Re: Create new Rails with mysql default on database.yml
In 3.2 you can define .railsrc with custom command line options that will always apply to rails new
Sent from my iPhone
Sent from my iPhone
On 01/22/2012 06:16 PM, Felipe Pieretti Umpierre wrote: To make mysql the default when you run rails new you would have to modify the rails code somewhere (If you cannot figure out where on your own you should not try to modify it). To change the database driver used on this particular instance modify config/database.yml. Run rails new xx -d mysql to see what the values in that file should be.Ok, but how I can make the mysql be default ?
--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home