ActiveRecord #scoped is deprecated, use #all instead