Rails411 is your one stop Ruby on Rails resource directory. Here you will find Ruby on
Rails tutorials, Conference & Workshop Listings, Forums, and Hosting. We are the
definitive guide for Ruby on Rails web applications, components, gems, scripts, and
other related resources for Ruby on Rails. Accomplishing more with your Ruby on Rails
website is easy with the help of these tested, pre-packaged, and ready-to-run
resources.
Click any category to add your site for free.
Wednesday, October 8 2008
| Rails411 |
| How to Use Configuration Files |
The database.yml file has a hidden option for those whose mysql.sock file does not reside at the default /tmp/mysql.sock location. To change the socket, add the following line (for example) to each of the configurations in database.yml:
production: socket: /var/run/mysqld/mysqld.sock
The config directory can also be used for application configuration.
|
|
|