This project is archived and is in readonly mode.
dom_id returns incorrect value for destroyed records
-
José Valim
- State changed from new to incomplete
- Assigned user set to José Valim
- Milestone cleared.
Can you please give us more information about the actual behavior and the behavior you expect?
-
Yehuda Katz (wycats)
A failing test case would be great too!
-
aaronchi
Example:
note = Note.new dom_id(note) => "note_1" note.destory dom_id(note) => "new_note" -
aaronchi
Example:
note = Note.first dom_id(note) => "note_1" note.destroy dom_id(note) => "new_note" -
Repository
- State changed from incomplete to resolved
(from [56bed512f92050f95701eca4f918086a8f1cda1e]) Fix dom_id for ActiveRecord [#4296 dom_id returns incorrect value for destroyed records state:resolved] http://github.com/rails/rails/commit/56bed512f92050f95701eca4f91808...