ActiveRecord and sqlite sample