Class: ActiveRecord::UndefinedScopeReflectionError

Inherits:
ActiveRecordError
  • Object
show all
Defined in:
lib/scoped_associations.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(reflection, scope) ⇒ UndefinedScopeReflectionError

Returns a new instance of UndefinedScopeReflectionError.



3
4
5
# File 'lib/scoped_associations.rb', line 3

def initialize(reflection, scope)
  super("Undefined Scope '#{scope}' for #{reflection.class_name}.")
end