You can create this scopes dynamically.
```ruby
STATES_TO_BE_SCOPED.each do |state|
  scope state, ->{ where(state: state) } 
end