lib/seed_helper.rb in seed_helper-1.11.0 vs lib/seed_helper.rb in seed_helper-1.12.1

- old
+ new

@@ -51,13 +51,10 @@ # Remove symbols from attributes. They cause SQL to get mad. cloned_attributes = Hash[ attributes.map { |k, v| [k, v.is_a?(Symbol) ? v.to_s : v] } ] cloned_attributes.delete_if do |key, value| # Can't search for password [:password, :password_confirmation].include?(key) || - # Times are bad for searches - value.kind_of?(Time) || - value.kind_of?(Date) || - # As are arrays + # Arrays are bad for searches value.kind_of?(Array) || # As are Files value.kind_of?(File) end # Rails 4