Multiple Rails app, single MySQL database
Posted
by Gaius Parx
on Stack Overflow
See other posts from Stack Overflow
or by Gaius Parx
Published on 2010-04-22T12:02:35Z
Indexed on
2010/04/22
12:03 UTC
Read the original article
Hit count: 199
ruby-on-rails
|mysql
I intend to have multiple Rails apps each for site.com, api.site.com, admin.site.com. All apps will access the same tables from one single MySQL database. Apps and database runs in the same server.
Is there any settings in Rails, ActiveRecord or MySQL that I need to be concerned about for above access scenerio? Thanks
Running: Rails 2.3.5, MySQL 5.0, Nginx, Passenger, RubyEE
© Stack Overflow or respective owner