excellent, I used after_create which also meant I could move the code
into an included module :-)

On Nov 7, 12:44 pm, Tom Locke <[EMAIL PROTECTED]> wrote:
> This might be better done in the model - thin controller, fat model
> remember.
>
> You could use the before_create callback. The user doing the create is
> available as acting_user
>
> Tom
>
> On 7 Nov 2008, at 12:19, adamski wrote:
>
>
>
> > I have a number of similar Models in my app, and I'd like to extend
> > hobo_create so that it can automagically create another model with
> > data from the form+current user. Is there a preffered way to do this
> > in Hobo so I don't have to copy across all the controllers?
> > Thx
--~--~---------~--~----~------------~-------~--~----~
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