public
Description: A Rails plugin for merging Active Record models
Homepage:
Clone URL: git://github.com/collectiveidea/merger.git
Click here to lend your support to: merger and make a donation at www.pledgie.com !
jfcouture (author)
Fri Apr 17 13:30:59 -0700 2009
brandon (committer)
Fri Apr 24 06:13:43 -0700 2009
merger / README
100644 10 lines (6 sloc) 0.279 kb
1
2
3
4
5
6
7
8
9
10
Merger
======
 
This is a Rails plugin for merging Active Record models together. It is far from complete, but at the moment will move all the associations from the newer records to the oldest record and delete the newer records.
 
Example
=======
 
  @person.merge!(@dup1, @dup2)