Hi I believe you need to not require ActiveRecord, have you removed the `require “active_record/railtie”` from your `config/application.rb`?
Jon Rowe --------------------------- [email protected] jonrowe.co.uk On 11 September 2018 at 21:11, [email protected] wrote: > You might want to follow this answer from StackOverflow > (https://stackoverflow.com/a/29442541/2832282). In my previous mongoid > project I did not need such patching but apparently we either missed > something, or some strong dependencies were added in Rails/RSpec which makes > it harder to separate it from ActiveRecord > > On Tuesday, September 11, 2018 at 10:07:15 PM UTC+2, Surya wrote: -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/dejalu-192-e7759751-c5d7-47da-9e12-b92bb4f137e5%40jonrowe.co.uk. For more options, visit https://groups.google.com/d/optout.
