I have a has_many association that accepts nested attributes. I need for there to be a minimum of 1 associated object in the collection, so I wrote a custom va
has_many
A better way to validate the minimum size of a collection:
validates :my_association, :length => { :minimum => Fixnum}