habtm _ids are not updated

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 5.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have has_and_belongs_to_many association between players and games.
      When I destroy player - it disappears from @game.players, but it's id is still in @game.player_ids

      player_ids is attr_accessible

              Assignee:
              Unassigned
              Reporter:
              andriytyurnikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: