upgrading to Rails 4: using all instead of scoped (removing deprecation warning)