モデルに複数のhas_many関係を追加しようとしています。
class Program < ActiveRecord::Base
has_many :courses, :program_offers
belongs_to :university
attr_accessible :end_date, :name, :period, :start_date, :symbol, :year, :university_id, :description, :titles, :profile, :price
end
しかし、私は得ます:
hash expected
エラー。
2つのテーブルがたくさんあることをどのように参照できますか?