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 /
name age message
file .gitignore Sun Aug 17 15:06:26 -0700 2008 remove unused files, updated README [brandon]
file README Sun Aug 17 15:13:56 -0700 2008 updated README [brandon]
file Rakefile Sun Aug 17 15:03:35 -0700 2008 minimal version of plugin for merging active re... [brandon]
file init.rb Sun Aug 17 15:03:35 -0700 2008 minimal version of plugin for merging active re... [brandon]
directory lib/ Fri Apr 24 06:13:43 -0700 2009 changed callbacks: - renamed merged_with to af... [jfcouture]
directory test/ Fri Apr 24 06:13:43 -0700 2009 changed callbacks: - renamed merged_with to af... [jfcouture]
README
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)