1

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..

Sergio Tulentsev
  • 226,338
  • 43
  • 373
  • 367
rAzOr
  • 300
  • 6
  • 19

0 Answers0