RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes xSearch x
Ransack
Episode #370Aug 03, 201293 comments

Ransack

Ransack allows you to easily build complex search forms. It also helps in adding sortable links and building a dynamic advanced search page. (10 minutes)
Squeel
Episode #354May 30, 201269 comments

Squeel

Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features. (9 minutes)
ElasticSearch Part 1
Episode #306Dec 12, 201164 comments

ElasticSearch Part 1

Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series. (9 minutes)
Search with Sunspot
Episode #278Aug 08, 2011117 comments

Search with Sunspot

Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the search further. (10 minutes)
MetaWhere & MetaSearch
Episode #251Jan 31, 201165 comments

MetaWhere & MetaSearch

MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options. (8 minutes)
Search, Sort, Paginate with AJAX
Episode #240Nov 15, 2010124 comments

Search, Sort, Paginate with AJAX

Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. (13 minutes)
Searchlogic
Episode #176Aug 24, 200996 comments

Searchlogic

Searchlogic makes searching models easier than ever with its assortment of named scopes. In this episode I show you how to create simple and advanced searches. (13 minutes)
Thinking Sphinx
Episode #120Jul 28, 2008114 comments

Thinking Sphinx

If you need a full text search engine, Thinking Sphinx is a great solution. See why in this episode. (12 minutes)
Advanced Search Form
Episode #111May 26, 2008105 comments

Advanced Search Form

If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will show you how to handle this by creating a Search resource. (7 minutes)
Simple Search Form
Episode #37May 28, 2007134 comments

Simple Search Form

A search form is quite different than other forms, this is because it does not deal with model's attributes. See a good way to add a simple search form in this episode. (6 minutes)