aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-09-10 18:50:01 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-09-10 18:50:01 +0100
commit9994f0d90248db7d7eae36f0b597a15e8a427612 (patch)
treebec9c6d368cca2b8bb079173a459d37fd473cb4e /activerecord/CHANGELOG
parentb518b6c0d3e7796e303c2396de97a8d901aeb308 (diff)
downloadrails-9994f0d90248db7d7eae36f0b597a15e8a427612.tar.gz
rails-9994f0d90248db7d7eae36f0b597a15e8a427612.tar.bz2
rails-9994f0d90248db7d7eae36f0b597a15e8a427612.zip
Revert "Add :accessible option to Associations for allowing mass assignments using hash. [#474 state:resolved]"
This reverts commit e0750d6a5c7f621e4ca12205137c0b135cab444a. Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_collection.rb
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG18
1 files changed, 0 insertions, 18 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 4e38b6b688..5bcc7ad3a9 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -20,24 +20,6 @@
* Fixed that create database statements would always include "DEFAULT NULL" (Nick Sieger) [#334]
-* Add :accessible option to associations for allowing (opt-in) mass assignment. #474. [David Dollar] Example :
-
- class Post < ActiveRecord::Base
- belongs_to :author, :accessible => true
- has_many :comments, :accessible => true
- end
-
- post = Post.create({
- :title => 'Accessible Attributes',
- :author => { :name => 'David Dollar' },
- :comments => [
- { :body => 'First Post!' },
- { :body => 'Nested Hashes are great!' }
- ]
- })
-
- post.comments << { :body => 'Another Comment' }
-
* Add :tokenizer option to validates_length_of to specify how to split up the attribute string. #507. [David Lowenfels] Example :
# Ensure essay contains at least 100 words.