Sha256: 1017ac68aeecf3b92561017c9c95ba7eaa88a32d677ee64dbbde7c4471e945d9

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

module Doorkeeper
  module Models
    module Mongoid
      module Scopes
        def self.included(base)
          base.class_eval do
            def scopes=(value)
              write_attribute :scopes, value if value.present?
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 lib/doorkeeper/models/mongoid/scopes.rb