Class: ActiveRecord::UndefinedScopeReflectionError
- Inherits:
-
ActiveRecordError
- Object
- ActiveRecordError
- ActiveRecord::UndefinedScopeReflectionError
- Defined in:
- lib/scoped_associations.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(reflection, scope) ⇒ UndefinedScopeReflectionError
constructor
A new instance of UndefinedScopeReflectionError.
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 |