lib/representable.rb in representable-1.7.5 vs lib/representable.rb in representable-1.7.6

- old
+ new

@@ -126,10 +126,10 @@ # # collection :products # collection :products, :from => :item # collection :products, :class => Product def collection(name, options={}, &block) - options[:collection] = true + options[:collection] = true # FIXME: don't override original. property(name, options, &block) end def hash(name=nil, options={}) return super() unless name # allow Object.hash.