module Shim::ClassMethods

Public Instance Methods

find_by_email(email) click to toggle source
# File test/rails_app/app/mongoid/shim.rb, line 14
def find_by_email(email)
  find_by(email: email)
end
order(attribute) click to toggle source
# File test/rails_app/app/mongoid/shim.rb, line 10
def order(attribute)
  asc(attribute)
end