fixes from comments
This commit is contained in:
parent
d7c7d878f2
commit
5a1dae866a
7 changed files with 23 additions and 34 deletions
|
|
@ -114,17 +114,6 @@ class User < ActiveRecord::Base
|
|||
proposals(conference).count
|
||||
end
|
||||
|
||||
# Returns user submissions (in any conference)
|
||||
def submissions
|
||||
submissions = []
|
||||
Conference.all.each do |c|
|
||||
unless self.proposals(c).blank?
|
||||
submissions << self.proposals(c)
|
||||
end
|
||||
end
|
||||
submissions
|
||||
end
|
||||
|
||||
def biography_word_count
|
||||
if biography.nil?
|
||||
0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue