fix typo
This commit is contained in:
parent
c78ff9039a
commit
23b0c53b26
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Raid < ActiveRecord::Base
|
||||||
where('created_at < ?', date).sum(:soldiers)
|
where('created_at < ?', date).sum(:soldiers)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.contributers(date)
|
def self.contributors(date)
|
||||||
where('created_at < ?', date).group(:attacker).sum(:soldiers)
|
where('created_at < ?', date).group(:attacker).sum(:soldiers)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue