valuable icon indicating copy to clipboard operation
valuable copied to clipboard

What happens when you pass a hash to a collection?

Open mustmodify opened this issue 10 years ago • 0 comments

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.

mustmodify avatar Dec 04 '14 23:12 mustmodify