Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed the has :through docs I missed.

  • Loading branch information...
commit ffd8e36f6cd5103e9a6ff34d686ee1540759ef84 1 parent 6b1f29e
@andykent andykent authored Dan Kubb committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/data_mapper/associations.rb
View
2  lib/data_mapper/associations.rb
@@ -29,7 +29,7 @@ def n
# * has 1..3, :friends # one_to_many :friends, :min => 1, :max => 3
# * has 3, :friends # one_to_many :friends, :min => 3, :max => 3
# * has 1, :friend, :class_name=>'User' # one_to_one :friend, :class_name => 'User'
- # * has 3, :friends, :through=>:friendships # ????
+ # * has 3, :friends, :through=>:friendships # one_to_many :friends, :through => :friendships
#
# ==== Parameters
# cardinality<Fixnum, Bignum, Infinity, Range>:: Defines the association type & constraints
Please sign in to comment.
Something went wrong with that request. Please try again.