README.rdoc in ploymorphic_wuid-0.1.0 vs README.rdoc in ploymorphic_wuid-0.2.0

- old
+ new

@@ -11,10 +11,11 @@ class CreateWuids < ActiveRecord::Migration def self.up create_table :wuids do |t| t.integer :wuidable_id t.string :wuidable_type + t.integer :reference_to #optional t.timestamps end end def self.down @@ -29,11 +30,11 @@ in your model class Book < ActiveRecord::Base - acts_as_wuid + acts_as_wuid end that's all == Usage @@ -43,9 +44,13 @@ obj = Wuid.find(params[:wuid]).wuidable get an object's wuid: obj.wid + +== advantage + + acts_as_wuid :acts_as_tree => true == Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix.