Say no to chained ActiveRecord scopes!
Chaining ActiveRecord scopes outside their models resist change and testability. Fortunately, there’s an easy solution!
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!
Chaining ActiveRecord scopes outside their models resist change and testability. Fortunately, there’s an easy solution!
Post a comment