after_user_new callback not defined
Reported by ronin-25958 (at lighthouseapp) | February 28th, 2011 @ 07:58 PM
Using the after_user_new callback in a model as described in the cookbook raises
undefined method `after_user_new' for #<Class:0x103abd480> (NoMethodError)
Tested with hobo 1.3.0.pre26
Comments and changes to this ticket
-
Domizio Demichelis March 22nd, 2011 @ 09:08 PM
The fix introduces a little change: you have to define a after_user_new instance method now, e.g.:
def after_user_new self.owner = acting_user end
-
Domizio Demichelis March 22nd, 2011 @ 10:04 PM
- State changed from new to resolved
(from [6fe77d3630a06f712c3812f0f9a8d205e80d4f1b]) fix for after_user_new callback [#925 state:resolved] https://github.com/tablatom/hobo/commit/6fe77d3630a06f712c3812f0f9a...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 925 after_user_new callback not defined (from [6fe77d3630a06f712c3812f0f9a8d205e80d4f1b]) fix for...