Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Updating additional data fields in has and belongs to many relationship

#169

Hi,

habtm always have problem with update when we have additional fields in join table.

push with attribute is fine for inserting fields.

i added a patch for it and it's working fine for me.

please check document.

Reported by Rajesh Soni · May 12th, 2008 @ 07:27 PM

State: wontfix
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Frederick Cheung
    Frederick Cheung

    Shouldn't you be using has_many :through if you want your join table to be more than just a join table (PS: a word document? Srsly? :-) )

    May 19th, 2008 @ 10:34 PM

  2. josh
    josh
    • State changed from new to wontfix
    • Tag cleared.

    July 17th, 2008 @ 01:47 AM