I'm still learning the right way to do things. I'm kinda hacking away
at it till I get it to work well enough. I'll look into what you
recommended!

Thanks,
HoboHippy

On Nov 4, 7:48 am, Matt Jones <[email protected]> wrote:
> On Nov 3, 2011, at 10:23 PM, hobo_hippy wrote:
>
> > okay, but what do you mean correctly set the @assists? I thought I was
> > correctly setting it.
>
> You're setting it in the show action, but the part update renders from the 
> *create* action. Adding:
>
> @assists = OrderAssist.find :all, :conditions => {:user_id => current_user}
>
> to that action should make the nil error go away.
>
> BTW, is there a reason why you're not just declaring User has_many 
> :order_assists and getting them that way? The find :all stuff just looks 
> strange.
>
> --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