habtm link in row acting as a has_many

2 views
Skip to first unread message

dzone

unread,
Apr 15, 2007, 1:06:03 PM4/15/07
to ActiveScaffold : Ruby on Rails plugin
Hi everyone. I just started using ActiveScaffold and I'm running into
a problem with my habtm associations. They are being displayed in
each row properly, but when I click on them, the scaffolding appears
to be trying to fetch the list as if they had a foreign key. This
fails, because by default habtm uses a join table (which I'm using).
If the system knows how to get them properly to show them as a comma
separated list in the row, shouldn't it know how to get them as a
nested list when you click it?

Thanks,
Matt

Lance Ivy

unread,
Apr 17, 2007, 1:32:27 PM4/17/07
to actives...@googlegroups.com
Yeah, that should be working. Are you getting any exceptions?
Reply all
Reply to author
Forward
0 new messages