Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3223

habtm _ids are not updated

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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 Unassigned
            Reporter:
            andriytyurnikov andriytyurnikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: