changed .scoped to .all for rails4