README.rdoc in seed_dump-0.1.4 vs README.rdoc in seed_dump-0.2.1
- old
+ new
@@ -3,12 +3,14 @@
Seed dump is a simple plugin that adds a rake task named db:seed:dump.
It allows you to create a db/seeds.rb from your existing data in the database.
When there is no data in the database it will generate empty create statements.
+It mainly exists for people who are too lazy writing create statements in db/seeds.rb themselves
+and need something (+seed_dump+) to dump data from the table(s) into seeds.rb
-=== Example Usage
+== Example Usage
Dump all data directly to db/seeds.rb:
rake db:seed:dump
@@ -54,10 +56,10 @@
Here is a full example using all of the options above:
rake db:seed:dump MODELS=Category LIMIT=10 APPEND=true FILE=db/categories.rb WITH_ID=1 NO_DATA=1
-=== All environment variables
+== All environment variables
APPEND:
Append the data to db/seeds.rb instead of overwriting it.
FILE: