module Doorkeeper::Models::Mongoid::Scopes

def self.included(base)

def self.included(base)
  base.class_eval do
    def scopes=(value)
      write_attribute :scopes, value if value.present?
    end
  end
end

def scopes=(value)

def scopes=(value)
  write_attribute :scopes, value if value.present?
end