You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class School < ActiveRecord::Base
- attr_accessible :name, :province,:pinyin
- has_many :courses
-
- def to_s
- self.name.to_s
- end
-
- end
|