On Wed, Dec 1, 2010 at 8:55 PM, Matt Allen <[email protected]> wrote: > Hi Rim; > > > what you want is this: > > @sock = current_user.socks.new(params[:sock]) >
On second thoughts, it might be @sock = current_user.socks.build(params[:sock]) Matta -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
