code4lib / ruby-oai

a Ruby library for building OAI-PMH clients and servers
MIT License
62 stars 43 forks source link

Doc ability to use scope/AR::Relation with ActiveRecordWrapper #74

Closed jrochkind closed 5 years ago

jrochkind commented 5 years ago

This was already possible without any code changes, due to the awesomeness of ActiveRecord. (contrary to popular belief, AR can be pretty awesome). And it's quite useful.

This adds a simple test confirming it, and docs pointing it out.