Fix rubocop
This commit is contained in:
parent
6b59ce6985
commit
efa0c376bc
23 changed files with 32 additions and 32 deletions
|
@ -26,7 +26,7 @@ module RegistrationLimitationHelper
|
|||
end
|
||||
|
||||
def today_increase_user_count_value
|
||||
User.confirmed.enabled.where('users.created_at >= ?', Time.now.utc.beginning_of_day).joins(:account).merge(Account.without_suspended).count
|
||||
User.confirmed.enabled.where(users: { created_at: Time.now.utc.beginning_of_day.. }).joins(:account).merge(Account.without_suspended).count
|
||||
end
|
||||
|
||||
def registrations_in_time?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue