class License < ActiveRecord::Base attr_accessible :name, :display_name, :note include MasterModel default_scope { order('licenses.position') } end # == Schema Information # # Table name: licenses # # id :integer not null, primary key # name :string(255) not null # display_name :string(255) # note :text # position :integer # created_at :datetime # updated_at :datetime #