Jon, I'm using mongoid as ORM so I don't think I need ActiveRecord to be enabled in application.rb. Thank you for your inputs.
On Wed, 12 Sep 2018 at 02:03, Jon Rowe <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/rspec/dejalu-192-e7759751-c5d7-47da-9e12-b92bb4f137e5%40jonrowe.co.uk?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Please consider the environment before printing this email. Regards, Surya [image: This is my Footrr] <http://footrr.com/l/3697/> -- 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/CAHGOqz61K5B243Gxjy7W5MscGOxdudG8uF-%2BVGgnaA-TUSUQcw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
