Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 819 Bytes

README.md

File metadata and controls

51 lines (37 loc) · 819 Bytes

Irp

Short description and motivation.

creation

$ rails plugin new policies/irp --mountable --skip-test --dummy-path=spec/dummy

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem "irp"

And then execute:

$ bundle

Or install it yourself as:

$ gem install irp

Add config/initializers/irp_policy.rb to link claim, task clasess.

Irp.config_class = "PolicyConfiguration"
Irp.claim_class = "Claim"
Irp.task_class = "Task"
Irp.school_class = "School"

Copy the migrations

$ rails irp:install:migrations
$ rails db:migrate

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.