🚀 See the 2024 Ruby on Rails Community Survey results!
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.

Have a project that needs help?