update my_note from rails3.0 to rails3.2