update to rails 4 and fix ck_editor