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 16326ed2934193f7601273de68565c26d7ed19ac
tree 9849ea06c69ca1b2c37fe6199632319682e9eec6
parent 4a9c255651aa2058b0089d4f6eaa6b31f9bed916
tree 9849ea06c69ca1b2c37fe6199632319682e9eec6
parent 4a9c255651aa2058b0089d4f6eaa6b31f9bed916
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
| |
CHANGELOG | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
| |
COPYING | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
| |
README | Thu Apr 10 09:49:25 -0700 2008 | [bricooke] |
| |
Rakefile | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
| |
lib/ | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
| |
spec/ | Tue Mar 11 23:21:45 -0700 2008 | [bricooke] |
README
If your model is :timestamped, it will automatically set the
:created_at and :updated_at columns if they exist
With a migration like:
class MessageMigration < Sequel::Migration
def up
create_table :messages do
primary_key :id
integer :user_id
string :name
boolean :direct
datetime :created_at
datetime :updated_at
end
end
def down
execute "DROP TABLE messages"
end
end
a class with
class Message < Sequel::Model
is :timestamped
belongs_to :user
end
will be autotimestamped



