Configuration |
| Listings |
| There are 5 listings in this category. Add your listing here |
|
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.
(Hits: 228 | Votes: 0 | Visited: 62 | Added: 2006-05-30 13:21:08)
|
|
How to Add Your Own Config Info This page covers three different approaches for storing configuration data:
(Hits: 229 | Votes: 0 | Visited: 73 | Added: 2006-05-30 13:22:04)
|
|
How to Configure Logging
This howto shows how to modify some of the defaults in rails’ logging configuration. You can control some aspects of the logger through the config object in either config/environment.rb for a change in all environments or in one of the specific environment config files (e.g. config/environments/development.rb).
(Hits: 230 | Votes: 1 | Visited: 74 | Added: 2006-05-30 13:23:50)
|
|
How to Change Session Options
This article introduces how to change session options, both globally(for your entire application) and per controller/per action.
(Hits: 232 | Votes: 0 | Visited: 66 | Added: 2006-05-30 13:23:04)
|
|
How To Use Unicode Strings
While you can’t use Unicode strings with ruby, you can store UTF-8 encoded data in your 8-bit strings. However some of the String methods assume a single byte encoding and therefore return wrong results. Besides, without proper settings you will get output and input as sequences of bytes and you might get parse errors in literals.
(Hits: 232 | Votes: 0 | Visited: 66 | Added: 2006-05-30 13:24:26)
|