Good notes posted by sjmadsen
RSS feed
sjmadsen -
March 13, 2010
3 thanks
Can be used with has_many associations
You can also use this to validate that a has_many association has a specified number of records on the other end:
has_many :members validates_length_of :members, :minimum => 1