Permalink
Browse files

oops! 💣

  • Loading branch information...
1 parent f25251b commit bd3059a633eba0746bb30678a06290fbf629aadb @tenderlove tenderlove committed Aug 1, 2013
@@ -63,7 +63,7 @@ def define_callback(callback_name)
when Proc
->(method, owner, record) { callback.call(owner, record) }
else
- ->(method,owner,record) { callback.send(method, owner, record) }
+ ->(method, owner, record) { callback.send(method, owner, record) }
end
end
model.send "#{full_callback_name}=", callbacks

0 comments on commit bd3059a

Please sign in to comment.