Open DmytroStepaniuk opened 3 years ago
@DmytroStepaniuk Hi, thanks for reporting the error! Which exact version of Rails are you using? I tried a little bit, but I couldn't reproduce the error neigher on CI nor on my local vanilla 4.2 app.
Its Rails 4.2.11.3. I guess its not just vanilla - its along with multiverse gem 🤔 For me its failing only in models that are using multiverse connection.
@DmytroStepaniuk Tried on Rails 4.2.11.3 + PostgreSQL + multiverse 0.2.2 + rspec-rails 3.9.1, and still not being able to reproduce. I suspect you might be bundling some kind of harmful AR monkey-patch besides database_rewinder and multiverse...
Could you now please provide a reproducible example app? A newly created Rails app on a GH public repo is preferable.
In my model there was statement like:
In this case there was used multiverse gem to configure 2nd DB in rails 4 project
after upgrading to v0.9.6 now it fails because of
Just saw that there were some changes around that in the gem. I hope it can help with debugging issues like that 🤔