lib/mongomapper/callbacks.rb in jnunemaker-mongomapper-0.2.0 vs lib/mongomapper/callbacks.rb in jnunemaker-mongomapper-0.3.0
- old
+ new
@@ -88,10 +88,10 @@
private
def callback(method)
result = run_callbacks(method) { |result, object| false == result }
- if result != false && respond_to_without_attributes?(method)
+ if result != false && respond_to?(method)
result = send(method)
end
notify(method)
return result