diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-08-10 23:45:25 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-08-10 23:45:25 +0100 |
commit | a63fc94aa3689f1e781ac51411ec79a81c011d8a (patch) | |
tree | f07f4b44f507ae33f4f968c5026340f43dce5579 /guides/source/configuring.textile | |
parent | 6e57d5c5840716b63851f02a6a806ba968065bca (diff) | |
download | rails-a63fc94aa3689f1e781ac51411ec79a81c011d8a.tar.gz rails-a63fc94aa3689f1e781ac51411ec79a81c011d8a.tar.bz2 rails-a63fc94aa3689f1e781ac51411ec79a81c011d8a.zip |
fixup guides in light of :dependent changes
Diffstat (limited to 'guides/source/configuring.textile')
-rw-r--r-- | guides/source/configuring.textile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/configuring.textile b/guides/source/configuring.textile index cc5c352df4..513e3a2b2b 100644 --- a/guides/source/configuring.textile +++ b/guides/source/configuring.textile @@ -286,8 +286,6 @@ h4. Configuring Active Record * +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.dependent_restrict_raises+ will control the behavior when an object with a <tt>:dependent => :restrict</tt> association is deleted. Setting this to false will prevent +DeleteRestrictionError+ from being raised and instead will add an error on the model object. Defaults to false in the 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: |