UPDATE: DataMapper 2 was renamed to Ruby Object Mapper (ROM). For more info check out rom-rb.org We have a lot of different Object-Relational Mapper implementations in Ruby (and a ton and a half of Mongo mappers ;)) and it’s probably a good thing. It seems like the only ORM that really matters right now is ActiveRecord although in “the background” we still have DataMapper and Sequel with growing c
ActiveRecord はかなり便利な O/R mapper ですが,さらに上(?)がありました. DataMapper http://datamapper.org/ なお,このエントリは 0.9.11 をベースに書いています. このエントリの目次と他エントリへのリンク 概要 [関連するエントリ] Why DataMapper? Getting Started With DataMapper 接続 マイグレーション Logger モデル定義 Property 定義 Validation 指定 [関連するエントリ] Properties Validations Index Single Table Inheritance Hook モデル操作 作成 読み取り 更新 削除 [関連するエントリ] Finding トランザクション [関連するエントリ] Transactions アソシエーション
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く