you can just use if @decision.update_attributes!(decision_params) rather than assigning a var