From 1555b42177e201c12e01063fcc0a007409a54e76 Mon Sep 17 00:00:00 2001 From: Jon Jensen Date: Tue, 12 May 2015 22:07:45 -0600 Subject: [PATCH] document rake task --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0574b06..f464d95 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,13 @@ evaluating the associations in your models (e.g. `belongs_to`, `has_many`, etc.) Only missing keys will be added; existing ones will never be altered or removed. +### Rake Task + +To help you remember to add keys in the future, there's a handy rake +task you can add to your CI setup. Just run `rake immigrant:check_keys`, +and if anything is missing it will tell you about it and exit with a +non-zero status. + ## Considerations If the data in your tables is bad, then the migration will fail to run