replace scope with callable object

- in order to prepare for rails4 migration