Skip to content

Commit

Permalink
revert changes to checks_today?
Browse files Browse the repository at this point in the history
  • Loading branch information
interstateone committed Oct 21, 2012
1 parent 46fe62d commit 401a1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Expand Up @@ -55,7 +55,7 @@ def self.authenticate(email, pass)
end

def check_today?
return !(self.checks.count :date => Date.today.to_time.in_time_zone(self.timezone).to_date).zero?
return !(self.checks.count :date => Date.today).zero?
end

def remaining_tasks
Expand Down

0 comments on commit 401a1f4

Please sign in to comment.