lib/omniauth/identity/models/mongoid.rb in omniauth-identity-3.0.4 vs lib/omniauth/identity/models/mongoid.rb in omniauth-identity-3.0.5
- old
+ new
@@ -3,9 +3,10 @@
require 'mongoid'
module OmniAuth
module Identity
module Models
+ # NOTE: Mongoid is based on ActiveModel.
module Mongoid
def self.included(base)
base.class_eval do
include ::OmniAuth::Identity::Model
include ::OmniAuth::Identity::SecurePassword