class SimpleContentManagement::SimpleMenuItem < ActiveRecord::Base validates_presence_of :name, :uri validates_inclusion_of :is_target_blank, in: [ true, false ] attr_accessible :name, :uri, :is_target_blank scope :ordered, order("position") acts_as_list end