added block to default scope

To add support after ruby 2.x.x . We just needed to call the scope's condition as a  block. Heroku is now no more accepting the blockless scope when ruby version is greater then 2.x.x.  I hope this pull request would resolve this issue for the upgraded ruby version based application.