module Hashid::Rails::ClassMethods

def find_by_hashid(hashid)

def find_by_hashid(hashid)
  find_by(id: decode_id(hashid, fallback: false))
end