2011-08-03 mongoidでdefault_scope rails mongoid default_scope order_by([:created_at, "DESC"]) こんな感じに書きます。