Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include Workflow into ActiveRecord::Base when used as a plugin

  • Loading branch information...
commit a7576c8bb9743c478da3c79ebd36d8bf5e5aadf8 1 parent a8d4cc9
@ryan-allen authored
Showing with 6 additions and 0 deletions.
  1. +5 −0 init.rb
  2. +1 −0  install.rb
View
5 init.rb
@@ -0,0 +1,5 @@
+require "#{File.dirname(__FILE__)}/workflow"
+
+class ActiveRecord::Base
+ include Workflow
+end
View
1  install.rb
@@ -0,0 +1 @@
+# post script/plugin install stuff goes here
Please sign in to comment.
Something went wrong with that request. Please try again.