You're right, that should be plural, but that didn't change anything.
Below is the actual code for the select generated. Mind you, I haven't
done anything in the test project except that which was mentioned in
the first post (with the exception of pluralizing :person_tasks). It
is supposed to generate a collection-input, but it is generating an
input-many and I don't know why.
<select>
<option value="">Add Person</option>
<option value="@1">Craig</option><option value="@2">Fred</
option>
</select>
As you can see, there isn't any attributes in the select tag to make
it usable in any way.
Leo
On Apr 29, 1:35 am, Tom Locke <[email protected]> wrote:
> > person.rb
> > name :string #within the fields do
> > has_many :person_task, :dependent => :destroy
> > has_many :tasks, :through => :person_task
>
> Should be "has_many :person_tasks" right? (plural)
>
> Is that anything to do with the problem?
>
> T
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---