Skip to content

Commit e46316c

Browse files
committed
Added missing fields to the teams::members
1 parent 95d84b7 commit e46316c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

app/models/teams/member.rb

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def display_name
3131
about
3232
team_responsibilities
3333
speciality_tags
34+
state_name
35+
country
3436
).each do |user_method|
3537
delegate user_method, to: :user
3638
end
@@ -41,13 +43,17 @@ def display_name
4143
end
4244

4345
# == Schema Information
46+
# Schema version: 20141015182230
4447
#
4548
# Table name: teams_members
4649
#
47-
# id :integer not null, primary key
48-
# team_id :integer not null
49-
# user_id :integer not null
50-
# created_at :datetime not null
51-
# updated_at :datetime not null
52-
# state :string(255) default("pending")
50+
# id :integer not null, primary key
51+
# team_id :integer not null
52+
# user_id :integer not null
53+
# created_at :datetime not null
54+
# updated_at :datetime not null
55+
# state :string(255) default("pending")
56+
# score_cache :float
57+
# team_banner :string(255)
58+
# team_avatar :string(255)
5359
#

0 commit comments

Comments
 (0)