Module können Modulgruppen auch per form hinzugefügt werden

This commit is contained in:
Thomas Blazek
2013-08-11 00:36:09 +02:00
parent 1bddc125eb
commit 4da8b3a0b3
2 changed files with 22 additions and 18 deletions

View File

@@ -13,7 +13,7 @@
#
class Modulgruppe < ActiveRecord::Base
attr_accessible :name, :phase, :typ,:desc, :studium_id
attr_accessible :name, :phase, :typ,:desc, :studium_id, :modul_ids
belongs_to :studium, :foreign_key => "studium_id"
has_and_belongs_to_many :moduls