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 (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Oct 29 09:45:12 -0700 2009 | |
| |
History.txt | Tue Aug 26 16:46:36 -0700 2008 | |
| |
LICENSE | Tue Aug 26 14:28:11 -0700 2008 | |
| |
README.txt | Sun Sep 07 12:43:05 -0700 2008 | |
| |
Rakefile | Thu Oct 29 09:45:12 -0700 2009 | |
| |
TODO | Tue Aug 26 15:10:24 -0700 2008 | |
| |
VERSION | Thu Oct 29 09:45:45 -0700 2009 | |
| |
dm-userstamp.gemspec | Thu Oct 29 09:46:12 -0700 2009 | |
| |
lib/ | Fri Jun 12 03:40:59 -0700 2009 | |
| |
spec/ | Thu Oct 29 09:46:29 -0700 2009 |
README.txt
= dm-userstamp DataMapper plugin which adds "magic" to created_by_id, updated_by_id fields Assumes a model called User and a class attribute of current_user Just need to add created_by_id and/or updated_by_id Integer fields to the model Eg: class User include DataMapper::Resource include DataMapper::Userstamp::Stamper cattr_accessor :current_user ... end class Monkey include DataMapper::Resource property :created_by_id, Integer property :updated_by_id, Integer ... end == Docs See rubyforge project: * http://dm-userstamp.rubyforge.org/ == Install sudo gem install dm-userstamp == Thanks Code based on: * AR userstamp plugin - http://github.com/ctran/userstamp/tree/master * DM timestamps plugin - http://github.com/sam/dm-more/tree/master/dm-timestamps







