forked from bofh/fetsite
AutoCommit Fre Jun 26 16:03:06 CEST 2015
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
class Lecturer < ActiveRecord::Base
|
||||
attr_accessible :email, :name, :oid, :picture, :remove_picture, :picture_cache, :lva_ids, :link
|
||||
has_and_belongs_to_many :lvas
|
||||
has_many :beispiele
|
||||
mount_uploader :picture, PictureUploader
|
||||
resourcify
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ class Lva < ActiveRecord::Base
|
||||
has_and_belongs_to_many :modul,:uniq=>true # Gehört zu einem Modul
|
||||
has_and_belongs_to_many :semester
|
||||
has_many :beispiele , :class_name => "Beispiel"
|
||||
|
||||
has_and_belongs_to_many :lecturers
|
||||
has_many :nlinks, as: :link
|
||||
has_many :crawlobjects, :as=>:something
|
||||
|
||||
Reference in New Issue
Block a user