[Rails] Re: Types of db for environments - same or different?
Hi,
I think you can use different databases without any problem, just set
it in the database.yaml file. I think this is the only settings you
need, but it's wise to check the application.rb file, if any other
smart settings are available.
For hardcoding SQL use this tutorial:
http://guides.rubyonrails.org/active_record_querying.html
and check the API first! This way you won't have any problem.
cheers,
Zoltán
On nov. 27, 03:14, daze <dmonopol...@gmail.com> wrote:
> Should the types of databases for development, testing, and production
> all be the same?
>
> Is it okay to have, for example, sqlite3 for development and testing,
> and mysql2 for production? Is that doable/common/not too hard to
> configure?
--
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