Sha256: 471651f7378c8045e21d1426913815601339ece02f1b60f578e7c0241c2ed282
Contents?: true
Size: 552 Bytes
Versions: 27
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 module Mongoid module Errors # 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( compose_message( "scope_overwrite", { model_name: model_name, scope_name: scope_name } ) ) end end end end
Version data entries
27 entries across 27 versions & 2 rubygems