This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit e77cccecb2a93327ce629d7b488f7335273f3f1b
tree 86a7e592ba86339272dc0fff8182cb3952783c30
parent 4540750444de4484f87930dc79d0042bd8978ed0
tree 86a7e592ba86339272dc0fff8182cb3952783c30
parent 4540750444de4484f87930dc79d0042bd8978ed0
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri Mar 28 06:17:34 -0700 2008 | [DefV] |
| |
README | Thu Mar 27 12:14:34 -0700 2008 | [DefV] |
| |
Rakefile | Thu Mar 27 12:14:34 -0700 2008 | [DefV] |
| |
about.yml | Sat Mar 29 13:12:04 -0700 2008 | [DefV] |
| |
init.rb | Thu Mar 27 11:53:30 -0700 2008 | [DefV] |
| |
lib/ | Fri Mar 28 09:46:43 -0700 2008 | [DefV] |
| |
test/ | Fri Mar 28 03:16:57 -0700 2008 | [DefV] |
README
= Deep Cloning Plugin This plugin gives every ActiveRecord::Base object the possibility to do a deep clone. Repository is on github: http://github.com/DefV/deep_cloning/tree/master Install with: script/plugin install git://github.com/DefV/deep_cloning.git == Example === Cloning a model without an attribute pirate.clone :except => :name === Cloning a model without multiple attributes pirate.clone :except => [:name, :nick_name] === Cloning one single association pirate.clone :include => :mateys === Cloning multiple associations pirate.clone :include => [:mateys, :treasures] === Cloning really deep pirate.clone :include => {:treasures => :gold_pieces} Copyright (c) 2008 Jan De Poorter, released under the MIT license




