Further fix, replacing .scoped with .all.

- scoped is deprecated in Rails 4 and removed in Rails 4.1