README.md in data_sanity-0.2.0 vs README.md in data_sanity-0.2.1
- old
+ new
@@ -20,9 +20,11 @@
* removing migrations : rake data_sanity:db:rollback
* Use normal rake db:migrate to migrate the migration added by rake data_sanity:db:migrate
* You can add a sample criteria file using rake data_sanity:criteria
* To Investigate your data use rake data_sanity:investigate
- By default it runs for all data
+ : If criteria file is specifies then picks model from file and validates only those
+ : Note: For any criteria mentioned except model names is ignored
- rake data_sanity:investigate[random,2]
: parameter 1: random: show you want random selection
: parameter 2: lets you add as many random records you want to verify [default is 1]
: Note: if you have a criteria file it works only for models in criteria file