aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/author.rb
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/test/models/author.rb
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/test/models/author.rb')
-rw-r--r--activerecord/test/models/author.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb
index ad0123cf2c..37551c8157 100644
--- a/activerecord/test/models/author.rb
+++ b/activerecord/test/models/author.rb
@@ -1,5 +1,5 @@
class Author < ActiveRecord::Base
- has_many :posts, :accessible => true
+ has_many :posts
has_many :posts_with_comments, :include => :comments, :class_name => "Post"
has_many :posts_with_comments_sorted_by_comment_id, :include => :comments, :class_name => "Post", :order => 'comments.id'
has_many :posts_sorted_by_id_limited, :class_name => "Post", :order => 'posts.id', :limit => 1