lib/likeable/module_methods.rb in likeable-0.1.0 vs lib/likeable/module_methods.rb in likeable-0.1.1

- old
+ new

@@ -73,10 +73,10 @@ @find_many.call(klass, ids) end def find_one(klass, id) - @find_one ||= lambda {|klass, ids| klass.where(:id => id).first} + @find_one ||= lambda {|klass, id| klass.where(:id => id).first} @find_one.call(klass, id) end def find_one=(find_one) @find_one = find_one