Permalink
Browse files

This is comment for singular association.

  • Loading branch information...
1 parent d20a529 commit 2c4faaaedd36fd7c55bef516c71d3dd5f46a6164 @kennyj kennyj committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/singular_association.rb
@@ -12,7 +12,7 @@ def reader(force_reload = false)
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

0 comments on commit 2c4faaa

Please sign in to comment.