Sha256: 29ce64b3e910c31d0d7f77a7e76696ca2013ea8bfcbb640e5d74793d7fb12ee6

Contents?: true

Size: 298 Bytes

Versions: 26

Compression:

Stored size: 298 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

26 entries across 26 versions & 1 rubygems

Version Path
doorkeeper-1.4.2 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.4.1 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.4.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.3.1 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.3.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.2.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.1.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.0.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.0.0.rc2 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-1.0.0.rc1 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.7.4 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.7.3 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.7.2 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.7.1 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.7.0 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.6.7 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.6.6 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.6.5 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.6.4 lib/doorkeeper/models/mongoid/scopes.rb
doorkeeper-0.6.3 lib/doorkeeper/models/mongoid/scopes.rb