Exception: GroupedScope::NoGroupIdError

Inherits:
GroupedScopeError show all
Defined in:
lib/grouped_scope/errors.rb

Overview

:nodoc:

Instance Method Summary collapse

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

#messageObject



8
# File 'lib/grouped_scope/errors.rb', line 8

def message ; %|The #{@owner.class} class does not have a "group_id" attribute.| ; end