rails dup behaviour changed