Search and Filter Rails Models Without Bloating Your Controller - Screencasts

$14
2 ratings

Searching, sorting, and filtering in Rails controllers can be a pain. ElasticSearch and Solr are great, high-powered solutions, but are really big dependencies for a small app.

Luckily, Rails includes scopes, which can provide you with a lot of what you need for simple searching, filtering, and sorting. If you take advantage of scope chaining, you can build the features you want without taking on big dependencies or writing a bunch of repetitive search code yourself.

In this 14-minute screencast, you'll walk through building a sortable, filterable inventory screen inside a brand new Rails app. And in the process, you'll learn the tricks and techniques I use to quickly master new Rails concepts.

You'll get the source code for the sample app along with the videos, so you can refer to it when you add simple searching and filtering to your own Rails apps.

I want this!
Copy product URL

Ratings

5.0
(2 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$14

Search and Filter Rails Models Without Bloating Your Controller - Screencasts

2 ratings
I want this!