aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-10-16 10:32:09 +0200
committerYves Senn <yves.senn@gmail.com>2015-10-16 10:32:09 +0200
commitb3656076d64fabb7a492aa4b8e8d45b6826b8798 (patch)
tree2ad72e29931bff74cd7a4a3695055cd0170470d0
parent960de47f0eef79d234eb3cfc47fabb470fef1529 (diff)
parent15f75193613492b408f29427381966f674d0c482 (diff)
downloadrails-b3656076d64fabb7a492aa4b8e8d45b6826b8798.tar.gz
rails-b3656076d64fabb7a492aa4b8e8d45b6826b8798.tar.bz2
rails-b3656076d64fabb7a492aa4b8e8d45b6826b8798.zip
Merge pull request #21969 from ignatiusreza/remove_readonly_option_doc
Remove mentioned of 'readonly' options in doc for HABTM [ci skip]
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 70f29debbc..2abc5fa9d5 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1761,8 +1761,6 @@ module ActiveRecord
# By default this is guessed to be the name of the associated class in lower-case and "_id" suffixed.
# So if a Person class makes a #has_and_belongs_to_many association to Project,
# the association will use "project_id" as the default <tt>:association_foreign_key</tt>.
- # [:readonly]
- # If true, all the associated objects are readonly through the association.
# [:validate]
# If +false+, don't validate the associated objects when saving the parent object. +true+ by default.
# [:autosave]