Kill trailing whitespace in ruby files
This commit is contained in:
@@ -2,18 +2,18 @@ module Moderator
|
||||
module Dashboard
|
||||
class Report
|
||||
attr_reader :min_date, :max_level
|
||||
|
||||
|
||||
def initialize(min_date, max_level)
|
||||
@min_date = min_date.present? ? min_date.to_date : 1.week.ago
|
||||
@max_level = max_level.present? ? User::Levels::MEMBER : max_level.to_i
|
||||
end
|
||||
|
||||
|
||||
def artists
|
||||
ActiveRecord::Base.without_timeout do
|
||||
Queries::Artist.all(min_date, max_level)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def comments
|
||||
ActiveRecord::Base.without_timeout do
|
||||
Queries::Comment.all(min_date, max_level)
|
||||
@@ -55,7 +55,7 @@ module Moderator
|
||||
Queries::Upload.all(min_date, max_level)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def user_feedbacks
|
||||
ActiveRecord::Base.without_timeout do
|
||||
Queries::UserFeedback.all
|
||||
|
||||
Reference in New Issue
Block a user