Permalink
Browse files

fix huge error

  • Loading branch information...
1 parent 04975f3 commit c15d82176644745118eb580e10f5c719c1821eb6 @funny-falcon committed Mar 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/identity_map/active_record/base.rb
@@ -100,7 +100,7 @@ def find_with_identity_map( *args )
find_without_identity_map(:first, {:conditions=>{:id=>to_find}})
end
end
- else
+ elsif !ids.is_a?(Symbol)
fetch_single(map, ids)
end
if method_defined?(:merge_includes) &&

0 comments on commit c15d821

Please sign in to comment.