What about in after_user_new ?

Is there an example that can be posted specifically to this situation?
I'm struggling to understand how the INSERT statement will take into
account the owner_id when it executes, as all records in this
application are owned by users. I can hardcode that value into the
INSERT/VALUE statement, but that doesn't really help because each new
user will have a different :user_id.

Can someone provide an example of how this might be accomplished?

On Oct 20, 3:40 pm, kevinpfromnm <[email protected]> wrote:
> Probably best to put it in an after_create callback.  Excepting lifecycles,
> the rails methods are the hobo methods in the model side of things.  Only
> when you get to the view/controller layers that you might need/want to go to
> a hobo specific approach.

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