Filter

Sign up for our newsletter

Recieve a selection of our favorite articles the first Friday of every month!

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

Have a project that needs help?

New Call-to-action