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
This isn't quite as neat as ea8bc34
(as I like the idea of waiting until ActiveRecord is loaded by Rails
itself), but it seems Rake tasks don't always load ActiveRecord, and so
we end up in a situation where indices are being loaded without TS's
ActiveRecord components being available (see
#1199).
But: the main issue was that prior to @jdelStrother's good work, AR
configuration in initialisers was being ignored. This new approach
waits until after initialisers have been run, so it should be fine.
0 commit comments