acts-as-tree-with-dotted-ids icon indicating copy to clipboard operation
acts-as-tree-with-dotted-ids copied to clipboard

A bug

Open ZhangHanDong opened this issue 14 years ago • 1 comments

When I run Model.rebuild_dotted_ids!, the value of the column dotted_ids is wrong! before :

id : dotted_ids

1 : null

2 : null

3 : null

4 : 1.4

5 : 2.5

after:

id : dotted_ids

1 : 1

2 : 2

3 : 3

4 : .4

5 : .5

ZhangHanDong avatar Dec 28 '10 06:12 ZhangHanDong

Rebuilding of the dotted ids works fine for me in real life apps... The tests pass for both MySQL and SQLite. Are you using any other DBMS?

Can you make a failing test case?

xavier avatar Jan 20 '11 18:01 xavier