Why is Ruby on Rails' default_scope bad?
09-Jan-2020 1547
A pretty popular opinion in the Ruby on Rails community is that default_scopes should not be used for any reason. However, often it's not fully explained why default_scopes are harmful to applications. Default Scopes are harmful because they are unexpected and hard to.
Why is Ruby on Rails' default_scope bad? #ruby #rubydeveloper #rubyonrails #Rails' #default_scope https://rubyonrails.ba/link/why-is-ruby-on-rails-default_scope-bad