Exception: GroupedScope::NoGroupIdError
- Inherits:
-
GroupedScopeError
- Object
- StandardError
- GroupedScopeError
- GroupedScope::NoGroupIdError
- Defined in:
- lib/grouped_scope/errors.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(owner) ⇒ NoGroupIdError
constructor
A new instance of NoGroupIdError.
- #message ⇒ Object
Constructor Details
#initialize(owner) ⇒ NoGroupIdError
Returns a new instance of NoGroupIdError.
7 |
# File 'lib/grouped_scope/errors.rb', line 7 def initialize(owner) ; @owner = owner ; end |
Instance Method Details
#message ⇒ Object
8 |
# File 'lib/grouped_scope/errors.rb', line 8 def ; %|The #{@owner.class} class does not have a "group_id" attribute.| ; end |