diff --git a/app/controllers/admin/surveys_controller.rb b/app/controllers/admin/surveys_controller.rb index faca20d..aee9932 100644 --- a/app/controllers/admin/surveys_controller.rb +++ b/app/controllers/admin/surveys_controller.rb @@ -211,7 +211,7 @@ class Admin::SurveysController < OrbitAdminController if radiogroup.respond_to?(key + '_translations') new_radiogroup.send(key + '_translations=', value) else - new_radiogroup.write_attribute(key, value) rescue nil + new_radiogroup[key] = value end end end