Sha256: 5f2b27b2256d931206529132121f9b7f92f5e788c720097bc19c0e9142f90d7b
Contents?: true
Size: 923 Bytes
Versions: 4
Compression:
Stored size: 923 Bytes
Contents
# Seam::ActiveRecord Active Record support for seam. ## Installation Add this line to your application's Gemfile: gem 'seam-active_record' You'll also need to add the following migration script: ```ruby class CreateSeamEfforts < ActiveRecord::Migration def change create_table :seam_efforts do |t| t.string :effort_id t.string :next_step t.datetime :next_execute_at t.boolean :complete t.text :data t.timestamps end end end ``` ## Usage In an initializer or some other sort of your application's setup, call ``` Seam::ActiveRecord.setup ``` Now your workflows will be run through an ActiveRecord model, ```SeamEffort```. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
seam-active_record-1.1.0 | README.md |
seam-active_record-1.0.2 | README.md |
seam-active_record-1.0.1 | README.md |
seam-active_record-1.0.0 | README.md |