OK Guys,

I think I understand the problem now.  We've got to populate the join-
table with the ID of the new Expanse record and the ID of the selected
Vendor record.

Heretofore,  I thought using vendor instead of Fred's vendor_id was
cool because:
1.  It didn't crash the new Expense record
2.  It populated the Expense vendor field with the ID of the selected
vendor.

Only now do I see that our goal is to populate the join-table.  My
idea of qualifying vendor_id as expenses_vendor/:vendor didn't fly.
But you guys sound like you've got enough experience in Rails to see
through this problem.  I keeping my fingers crossed.

> Best wishes to you both,
> Richad

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to