There is no common logger in model namespace
This commit is contained in:
parent
d11a889d85
commit
7f710ec72d
1 changed files with 0 additions and 1 deletions
|
|
@ -115,7 +115,6 @@ class Conference < ActiveRecord::Base
|
||||||
return nil if user.nil?
|
return nil if user.nil?
|
||||||
|
|
||||||
if registrations.where(user_id: user.id).count == 0
|
if registrations.where(user_id: user.id).count == 0
|
||||||
logger.debug("User #{user.email} isn't registered to self.title")
|
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue