Rails - Query Pattern

28 Apr 25

Implemented ItemQuery class in Technical Diary to abstract all querying logic out of controller.
The class allows for zero or single argument.
TODO: mapping between filter name and scope. Currently depends on them being the same name.