class Partner < ActiveRecord::Base # attr_accessible :name, :active attr_accessor :active belongs_to :school has_many :customers, :through => :partner_customers has_many :partner_customers, :dependent => :destroy has_many :users end