valuable
valuable copied to clipboard
What happens when you pass a hash to a collection?
class Unit
has_collection :conversions, :klass => Conversion
end
Unit.new(:conversions => {:att => val})
This should blow up because it isn't an array. Or work. Anything but resulting in nil.