another rails4 scope fix