lib/tasks/seed_fu.rake in seed-fu-2.3.1 vs lib/tasks/seed_fu.rake in seed-fu-2.3.2
- old
+ new
@@ -14,16 +14,16 @@
You can also change the directory where seed files are looked for
with the FIXTURE_PATH environment variable.
Examples:
# default, to load all seed files for the current environment
- rake db:seed
+ rake db:seed_fu
# to load seed files matching orders or customers
- rake db:seed FILTER=orders,customers
+ rake db:seed_fu FILTER=orders,customers
# to load files from RAILS_ROOT/features/fixtures
- rake db:seed FIXTURE_PATH=features/fixtures
+ rake db:seed_fu FIXTURE_PATH=features/fixtures
EOS
task :seed_fu => :environment do
if ENV["FILTER"]
filter = /#{ENV["FILTER"].gsub(/,/, "|")}/
end