aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-11-02 01:34:29 +0900
committerkennyj <kennyj@gmail.com>2012-11-02 01:34:29 +0900
commit2c4faaaedd36fd7c55bef516c71d3dd5f46a6164 (patch)
treeae372a26df3c5b96ea7b9187a0e64df9610837cf /activerecord
parentd20a52930aa80d7f219465d6fc414a68b16ef2a8 (diff)
downloadrails-2c4faaaedd36fd7c55bef516c71d3dd5f46a6164.tar.gz
rails-2c4faaaedd36fd7c55bef516c71d3dd5f46a6164.tar.bz2
rails-2c4faaaedd36fd7c55bef516c71d3dd5f46a6164.zip
This is comment for singular association.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/singular_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/singular_association.rb b/activerecord/lib/active_record/associations/singular_association.rb
index 32f4557c28..10238555f0 100644
--- a/activerecord/lib/active_record/associations/singular_association.rb
+++ b/activerecord/lib/active_record/associations/singular_association.rb
@@ -12,7 +12,7 @@ module ActiveRecord
target
end
- # Implements the writer method, e.g. foo.items= for Foo.has_many :items
+ # Implements the writer method, e.g. foo.bar= for Foo.belongs_to :bar
def writer(record)
replace(record)
end