mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Add config.active_record.identity_map to the configuration guide.
This commit is contained in:
@@ -263,6 +263,8 @@ h4. Configuring Active Record
|
||||
|
||||
* +config.active_record.whitelist_attributes+ will create an empty whitelist of attributes available for mass-assignment security for all models in your app.
|
||||
|
||||
* +config.active_record.identity_map+ controls whether the identity map is enabled, and is false by default.
|
||||
|
||||
The MySQL adapter adds one additional configuration option:
|
||||
|
||||
* +ActiveRecord::ConnectionAdapters::MysqlAdapter.emulate_booleans+ controls whether Active Record will consider all +tinyint(1)+ columns in a MySQL database to be booleans and is true by default.
|
||||
|
||||
Reference in New Issue
Block a user