block was missing for default scope. Ruby version 2.1.0 @ heroku

# problem was in model/punch.rb at default scope, no block were calling.
# current status: added the block.
`default_scope': Support for calling #default_scope without a block is removed. For example instead of `default_scope where(color: 'red')`, please use `default_scope { where(color: 'red') }`. (Alternatively you can just redefine self.default_scope.)

With this patch. Its now working fine in heroku with ruby 2.1.0