Skip to content

Adds a merge! method to ActiveRecord, for joining records together and updating associations.

License

Notifications You must be signed in to change notification settings

rapimo/active_record_merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adds a merge! method to ActiveRecord, for joining records together and updating associations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published