Bump to 1.1.0: Add new callback methods
Update tests to validate working. Update ruby version to 2.5.1
Thanks for this! Can you tell me a bit about the use case for broadcasting in the before callbacks?
It looks like the specs are failing for ActiveRecord 3.0 because it doesn't have the #update method.
Not sure why the JRuby specs are failing, looks unrelated.
@krisleech I'm not sure if its a use case for everyone. In my application I abstracted all the activerecord callbacks out into the service layout using this. Sometimes I want to mutate a model before it is saved. My base service object sends these broadcast messages and the services listen for them and function as a normal activerecord callback would. If this is an invalid use case maybe my approach is wrong. Let me know your thoughts.
I've reverted to update_attributes.