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
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?
The text was updated successfully, but these errors were encountered:
Is there any reason that
self.stampable
is inStampable::included
? BecauseActiveRecord::Base
includesStampable
, it means that not only do the callbacks get added twice (once via AR:Base, a second time when callingstampable
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?
The text was updated successfully, but these errors were encountered: