lib/sn_foil/adapters/orms/base_adapter.rb in snfoil-0.8.2 vs lib/sn_foil/adapters/orms/base_adapter.rb in snfoil-0.8.3

- old
+ new

@@ -25,10 +25,10 @@ def attributes=(_attributes) raise NotImplementedError, '#attributes= not implemented in adapter' end def is_a?(check_class) - __getobj__.class.object_id == check_class.object_id + __getobj__.class.object_id.equal?(check_class.object_id) end def klass __getobj__.class end