git clone git://github.com/mleung/feather.git
git branch -a
List all local and remote branches
git checkout -b edge origin/edge
Creates a new local 'edge' branch from the cloned 'edge' branch
This also sets up things so that pull and merge work correctly
You are on Feather edge
git checkout master
Returns to master branch
Datamapper Timestamps
Posted by Peter
on Jul 18, 08
If you want your created_at, updated_at, created_on and updated_on fields automatically set in your Datamapper model, you need to require 'dm-timestamps' before.
require 'dm-timestamps'
class Asset
include DataMapper::Resource
property :id, Integer, :serial => true
property :created_at, DateTime
property :updated_at, DateTime
end