Skip to content
This repository

Why does AR::Base get made stampable? #7

Open
dvandersluis opened this Issue · 0 comments

1 participant

Daniel Vandersluis
Daniel Vandersluis

Is there any reason that self.stampable is in Stampable::included? Because ActiveRecord::Base includes Stampable, it means that not only do the callbacks get added twice (once via AR:Base, a second time when calling stampable in the model), but also every single model gets associations and callbacks set up for it.

I've removed it locally but am I going to break anything I'm not seeing by doing so?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.