Delegating to Query Objects through ActiveRecord scopes
Query Objects are a fairly well known concept in Rails. In this post, I’m explaining how you can use a Query Object as an ActiveRecord scope.
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!
Query Objects are a fairly well known concept in Rails. In this post, I’m explaining how you can use a Query Object as an ActiveRecord scope.
Post a comment