Tag Archives: search
Better Rails Searching with Named Scopes using Scope Builder
When it comes writing elegant search code in a Rails app, Named Scopes immediately come to mind. And for good reason: they’re a fantastic way to express, well, scopes, for your searches. In your Person model, you might have named … Continue reading