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 aa69411c83b3bcceb96ab71feb948a7b3236c1a3
tree 1b54c2cd631eeb80abd41485dbe184af4a56d5fd
parent d3ee15e97ffa36a605800fbcb91b1c2777247b3d
tree 1b54c2cd631eeb80abd41485dbe184af4a56d5fd
parent d3ee15e97ffa36a605800fbcb91b1c2777247b3d
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Thu Mar 27 09:15:50 -0700 2008 | [DefV] |
| |
README | Thu Mar 27 12:14:34 -0700 2008 | [DefV] |
| |
Rakefile | Thu Mar 27 12:14:34 -0700 2008 | [DefV] |
| |
init.rb | Thu Mar 27 11:53:30 -0700 2008 | [DefV] |
| |
lib/ | Thu Mar 27 12:14:34 -0700 2008 | [DefV] |
| |
test/ | Thu Mar 27 12:14:34 -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




