I'm using Mongoid as my object mapper. So since I don't require the ActiveRecord railtie in my app the ActiveRecord on_load hook doesn't run and the ActiveModel helper methods don't get loaded in.
Any chance the loading code could be changed to work with any ActiveModel based mapper?
I'm using Mongoid as my object mapper. So since I don't require the ActiveRecord railtie in my app the ActiveRecord on_load hook doesn't run and the ActiveModel helper methods don't get loaded in.
Any chance the loading code could be changed to work with any ActiveModel based mapper?