Skip to content
Adds a merge! method to ActiveRecord, for joining records together and updating associations.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
MIT-LICENSE
README
Rakefile
init.rb

README

ActiveRecordMerge
=================

Adds a merge! method to ActiveRecord instances. This method automatically merges attributes and associations from one record to another, destroying the other record when it's done.

Note: I don't know if I ever actually used this, but it's a good example of database testing in plugins so I like to keep it around.

Copyright (c) 2007 Lance Ivy, released under the MIT license
Something went wrong with that request. Please try again.