Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo: `has_many :pets`, not `pets :has_many`.

  • Loading branch information...
commit e7461500e7c77444ea58ee3fc78c143c6dd8e96f 1 parent 80e90b0
@Peeja Peeja authored
View
2  activerecord/lib/active_record/associations/collection_proxy.rb
@@ -281,7 +281,7 @@ def create!(attributes = {}, &block)
# so method calls may be chained.
#
# class Person < ActiveRecord::Base
- # pets :has_many
+ # has_many :pets
# end
#
# person.pets.size # => 0
Please sign in to comment.
Something went wrong with that request. Please try again.