diff options
Diffstat (limited to 'activemodel/lib/active_model/type/immutable_string.rb')
-rw-r--r-- | activemodel/lib/active_model/type/immutable_string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/type/immutable_string.rb b/activemodel/lib/active_model/type/immutable_string.rb index 41e4a2a1ac..75654e1334 100644 --- a/activemodel/lib/active_model/type/immutable_string.rb +++ b/activemodel/lib/active_model/type/immutable_string.rb @@ -21,7 +21,7 @@ module ActiveModel when true then "t" when false then "f" else value.to_s - end + end result.freeze end end |