Change the module of MissingAttributeError to ActiveModel (from ActiveRecord)