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
Basically, they are now using Class.new to create an anonymous class of the original. I am running searchkick inside an abstract class' def inherited(subclass) method.
shoulda-matchers creating an anonymous class is triggering searchkick to run again on "the same model" thus raising this error.
Not sure if you would consider this a bug on shoulda-matchers, on searchkick, or perhaps poor implementation on my own codebase.
Input appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
Not sure if this would be considered a bug or not.
I opened an issue with
shoulda-matchers
too: thoughtbot/shoulda-matchers#1639Basically, they are now using
Class.new
to create an anonymous class of the original. I am runningsearchkick
inside an abstract class'def inherited(subclass)
method.shoulda-matchers
creating an anonymous class is triggeringsearchkick
to run again on "the same model" thus raising this error.Not sure if you would consider this a bug on
shoulda-matchers
, onsearchkick
, or perhaps poor implementation on my own codebase.Input appreciated. Thanks!
The text was updated successfully, but these errors were encountered: