diff --git a/README.md b/README.md index 2b2a9dc..3cfd89a 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,10 @@ Seed files can be run automatically using `rake db:seed_fu`. There are two optio * `rake db:seed_fu FIXTURE_PATH=path/to/fixtures` -- Where to find the fixtures * `rake db:seed_fu FILTER=users,articles` -- Only run seed files with a filename matching the `FILTER` -You can also do a similar thing in your code by calling `SeedFu.seed(fixture_paths, filter)`. +You can also do a similar thing in your code by calling `SeedFu.seed(fixture_paths, filter)`, for example: + + SeedFu.seed( Rails.root.join( 'db', 'seeds' ), /users/ ) + Disable output --------------