> My client has asked for a specific validation to be removed if the
> user is an administrator. The thing is, it is for creating new users!
> I.e. if an admin is creating a new user a given validation restriction
> needs to be removed. I'm not sure how to go about this, as
> current_user is not available in the User model.

You can access the user performing the create via the method  
acting_user (that's a Hobo extension)

Tom


--~--~---------~--~----~------------~-------~--~----~
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