amco/dolly — pull request #6 by javierg (2013-10-15 20:42:59+00:00)
Title: Add timesamps! class method.

This will add ```created_at``` and ```updated_at``` if they don't exists already and defaults to ```DateTime.now()```

class User < Dolly::Base
timestamps!
end

user= User.new
user.created_at # DateTime.now()
user.updated_at # DateTime.now()

Also adds setters and [] methods

user['created_at'] # DateTime.now()
user['created_at'] = DateTime.now()
user.updated_at = DateTime.now()