README.markdown in purgatory-2.2.0 vs README.markdown in purgatory-2.3.0
- old
+ new
@@ -2,16 +2,18 @@
Purgatory allows you to put changes to an ActiveRecord model into purgatory until they are approved
## How to Use
-First run the generator the create the required migrations:
+First run the generator the create the required migration and initializer file:
$ rails generate purgatory
Then migrate the database:
$ rake db:migrate
+
+By default the class of a purgatory's requester and approver is assumed to be 'User'. You can configure this in the config/initializers/purgatory file.
To enable Purgatory functionality in a class, add the following line to the class:
use_purgatory