diff options
author | Peter Kozak <spag@golwen.net> | 2013-04-25 12:10:07 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-04-25 12:10:07 +0200 |
commit | 0a935c19be0bfdec2c46258d9390ff0b8cfe356d (patch) | |
tree | cbec0e2b3540497cade3c243c81dc02a0d7f588c /app/models | |
parent | ae99f98a7ae52a375f1b3b5a85d34c9dd15ff81c (diff) |
return string
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/voicemail_setting.rb | 2 |
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 |