sounds like you have something like this:
class A
has_many AB
has_many B, :through AB

class AB
some fields here
belongs_to A
belongs_to B

class B
has_many AB
has_many A, :through AB

you want the :accessible => true on the join association, like
has_many AB, :accessible => true.  see if that gets what you need or
at least close.
On Jul 6, 4:53 am, Ronbo <[email protected]> wrote:
> Hi all,
>
> I've looked around for a recipe to do this and come up empty so far.
>
> I have a scenario where I need to allow users to set an attribute of a
> many to many relationship. This is not an attribute of model A or
> model B, but specific to each association. So I'm assuming it belongs
> on the join table. The issue I have is how to expose that field to the
> view of the page where users will make/update associations.
>
> Any suggestions are greatly appreciated.

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