# encoding: UTF-8 __END__ require File.expand_path("./helper", File.dirname(__FILE__)) class Comment < Ohm::Model def self.ranks @indices ||= [] end def self.rank(attribute) ranks << attribute unless ranks.include?(attribute) end def ranked?(attribute) end end setup do User.create(:email => "a@a.com") end