Rails 6 adds negative scopes for all enum values
Rails 6 adds negative scopes for all enum values today.
Here is a short post going over it:
http://blog.saeloun.com/2019/02/26/rails-6-negative-scopes-for-enum-values.html
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Rails 6 adds negative scopes for all enum values today.
Here is a short post going over it:
http://blog.saeloun.com/2019/02/26/rails-6-negative-scopes-for-enum-values.html
Post a comment