lib/scout/persist/serialize.rb in scout-essentials-1.1.0 vs lib/scout/persist/serialize.rb in scout-essentials-1.1.1
- old
+ new
@@ -50,10 +50,10 @@
case type
when nil, :string, :text, :file, :stream, :select, :folder
serialized
when :path
- Path.setup(serialized)
+ Path.setup(serialized.strip)
when :integer
serialized.to_i
when :float
serialized.to_f
when :boolean