Sha256: 0ee740c78491afec8d1d9bf15025c3ef5bb6ac206d8b929b32bf6a515e9a1db9
Contents?: true
Size: 537 Bytes
Versions: 164
Compression:
Stored size: 537 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc module Errors #:nodoc # This error is raised when trying to create a scope with an name already # taken by another scope or method # # @example Create the error. # ScopeOverwrite.new(Person,'teenies') class ScopeOverwrite < MongoidError def initialize(model_name,scope_name) super( translate( "scope_overwrite", { :model_name => model_name, :scope_name => scope_name } ) ) end end end end
Version data entries
164 entries across 72 versions & 3 rubygems