lib/generators/findable/templates/seeds.rb in findable-0.2.1 vs lib/generators/findable/templates/seeds.rb in findable-0.2.2

- old
+ new

@@ -8,6 +8,6 @@ # Example of if you want to run some only. # seed_files = ["products", "customers"] #=> Only products.yml and customers.yml seed_files = nil # Execute -Findable::Seed.target_files(seed_files: seed_files).each {|seed| seed.bootstrap! } +Findable::Seed.target_files(seed_files: seed_files).each(&:bootstrap!)