Upgrading to rails 5, mongodb as database

114 Views Asked by At

I am upgrading my rails version to 5.0 from 4.2. App uses mongoDB database.

Upgraded mongoid version to 6.3.0.

Do I have to create application_record.rb as we do for other activerecord databases, and inherit ApplicationRecord in all models? Should the application_record structure be followed here?

Asking because here models do not inherit but include Mongoid::Document.

Pardon me if I am not clear..

0

There are 0 best solutions below