summaryrefslogtreecommitdiff
path: root/app/models/voicemail_setting.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-25 12:10:07 +0200
committerPeter Kozak <spag@golwen.net>2013-04-25 12:10:07 +0200
commit0a935c19be0bfdec2c46258d9390ff0b8cfe356d (patch)
treecbec0e2b3540497cade3c243c81dc02a0d7f588c /app/models/voicemail_setting.rb
parentae99f98a7ae52a375f1b3b5a85d34c9dd15ff81c (diff)
return string
Diffstat (limited to 'app/models/voicemail_setting.rb')
-rw-r--r--app/models/voicemail_setting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/voicemail_setting.rb b/app/models/voicemail_setting.rb
index 0e9e3fa..be3d749 100644
--- a/app/models/voicemail_setting.rb
+++ b/app/models/voicemail_setting.rb
@@ -60,7 +60,7 @@ class VoicemailSetting < ActiveRecord::Base
when 'Integer'
self.value = self.value.to_i
when 'Boolean'
- self.value = ActiveRecord::ConnectionAdapters::Column.value_to_boolean(self.value)
+ self.value = ActiveRecord::ConnectionAdapters::Column.value_to_boolean(self.value).to_s
end
end
end