You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whole testcase is unmodified (except for
spec/callbacks_spec.rb) and passes.
The code is much shorter and and will be even more if I modify specs to reflect new code base.
I think that there is no point in not using activemodel as dependency. Community put much effort in extracting activemodel and now it is really simple and awesome.
If you agree on accepting my changes I will change the specs too and make pull request.
allow something like
after_create :do_something, :if => :do_it?
should also work with a lambda instead of a symbol as condition
The text was updated successfully, but these errors were encountered: