socialforge/app/models/school.rb

9 lines
129 B
Ruby
Raw Normal View History

class School < ActiveRecord::Base
attr_accessible :name, :province
has_many :courses
def to_s
self.name.to_s
end
end