diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-05 17:20:01 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-05 17:20:58 -0500 |
commit | 4b3377ca5bc181bb8a153c1e4d86b1b1fc968032 (patch) | |
tree | bad5c986ece73aed10ca3e947372d87299470ce5 | |
parent | 5af266a08a9167d8a9eea86eb6b85a66afa47f60 (diff) | |
download | rails-4b3377ca5bc181bb8a153c1e4d86b1b1fc968032.tar.gz rails-4b3377ca5bc181bb8a153c1e4d86b1b1fc968032.tar.bz2 rails-4b3377ca5bc181bb8a153c1e4d86b1b1fc968032.zip |
remove old AR Mass Assignment config optionsĀ [ci skip]
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index fa47523755..bf47206f71 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -282,12 +282,8 @@ config.middleware.delete ActionDispatch::BestStandardsSupport * `config.active_record.lock_optimistically` controls whether Active Record will use optimistic locking and is true by default. -* `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.auto_explain_threshold_in_seconds` configures the threshold for automatic EXPLAINs (`nil` disables this feature). Queries exceeding the threshold get their query plan logged. Default is 0.5 in development mode. -* `config.active_record.mass_assignment_sanitizer` will determine the strictness of the mass assignment sanitization within Rails. Defaults to `:strict`. In this mode, mass assigning any non-`attr_accessible` attribute in a `create` or `update_attributes` call will raise an exception. Setting this option to `:logger` will only print to the log file when an attribute is being assigned and will not raise an exception. - 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. |