Fixed bugs from last commit and in ExceptionNotification-config.
This commit is contained in:
parent
0a2a79237a
commit
aec93d4b73
4 changed files with 6 additions and 5 deletions
|
|
@ -23,6 +23,7 @@ class User < ActiveRecord::Base
|
|||
has_many :memberships, :dependent => :destroy
|
||||
has_many :groups, :through => :memberships
|
||||
has_one :ordergroup, :through => :memberships, :source => :group, :class_name => "Ordergroup"
|
||||
has_many :workgroups, :through => :memberships, :source => :group, :class_name => "Workgroup"
|
||||
has_many :assignments, :dependent => :destroy
|
||||
has_many :tasks, :through => :assignments
|
||||
has_many :send_messages, :class_name => "Message", :foreign_key => "sender_id"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue