diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-21 17:24:13 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-21 17:24:13 +1100 |
commit | b3d3fecdfe3588d842174ff3921e748864a85114 (patch) | |
tree | 2892337207490b60762662699a680b367411ed32 | |
parent | 3b15df97402411078fd3e4222573e5fefbae9099 (diff) |
Under Ruby 1.9 this saved to the DB as a Ruby ActiveSupport::SafeBuffer object but we want it saved as a String
-rw-r--r-- | app/models/info_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 375d972a3..42efa4484 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -473,7 +473,7 @@ public self.awaiting_description = true params = { :incoming_message_id => incoming_message.id } if !rejected_reason.empty? - params[:rejected_reason] = rejected_reason + params[:rejected_reason] = rejected_reason.to_str end self.log_event("response", params) self.save! |