2009-09-17から1日間の記事一覧

DataMapper を使う (Index)

以下の記事によれば,property の定義で index の指定ができるようです. http://jlaine.net/2008/6/2/specifying-indeces-in-datamapper 具体的には,property 定義で :index => true を指定する. unique index にしたい場合は :unique_index => true を指…