Which makes perfect sense since the find_by methods are dynamically generated 
from the model attributes and there's no "name" attribute. Duh me. ;-). 
________________________________________
From: [email protected] [EMAIL PROTECTED] On Behalf Of Orahood, James 
A [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 8:51 PM
To: [email protected]
Subject: [Hobo Users] Re: AR error submitting an edit form with a has_many 
:through model  without a "name" field

Thanks for the idea! WIth a name method added to the Doc model I get the 
following error instead:

 NoMethodError in ListsController#update

undefined method `find_by_name' for #<Class:0xb57dab30>

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