Article  |  Development

Easy search and filtering in Rails

Reading time: Less than a minute

Justin Weiss posted a great article on how you can add quick and easy filtering for Rails models without bloating your controllers or models beyond adding scopes here

Well worth a read through, and the comments below are pretty interesting, too. This is a feature most Rails apps will need at some point, and if it isn’t big enough for a full text search option, then this might save you some time.

comments powered by Disqus
Browse Articles…

Sign up for our newsletter

Receive a selection of our favorite articles from our blog and around the web straight to your inbox.

Have a project that needs help?

New Call-to-action