lib/much-rails/input_value.rb in much-rails-0.2.5 vs lib/much-rails/input_value.rb in much-rails-0.2.6

- old
+ new

@@ -5,10 +5,10 @@ # MuchRails::InputValue is a utility module for dealing with input field values. module MuchRails::InputValue def self.strip(value) return if value.blank? - value.to_s.strip + value.to_s.strip.presence end def self.strip_all(values) Array .wrap(values)