On Nov 4, 2009, at 4:46 PM, koicat wrote:

>
> Am having same issues.
> Took care of 'this.user.errors' but getting unknown local variable/
> method error on
>
> create :signup, :available_to => "Guest",
>       :params =>
> [:name, :email_address, :password, :password_confirmation
>       :become => :inactive, :new_key => true do
>  UserMailer.deliver_activation(self, lifecycle.key) if user.blank?
> end
>
> even if I change it to 'this.user.blank'.  Am still beginner with
> Ruby, Rails, and Hobo and am drawing blanks on this one.

During the execution of the callback, the user is 'self'. That's what  
you see being passed to deliver_activation.

--Matt Jones


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to