Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Pro Episodes xSearch x
Hacking with Arel
Episode #355May 30, 201213 comments

Hacking with Arel

Here I show a variety of ways to rewrite a long SQL query using only Active Record and Arel. This includes generating scopes dynamically, adding an "or" operator, and adding a powerful "match" method. (15 minutes)
Full-Text Search in PostgreSQL
Episode #343Apr 17, 201291 comments

Full-Text Search in PostgreSQL

Postgres offers full-text searching right out of the box. This episode shows how to write queries from scratch, apply tools like Texticle and pg_search, and optimize performance through indexes. (16 minutes)
ElasticSearch Part 2
Episode #307Dec 12, 201137 comments

ElasticSearch Part 2

This final part on ElasticSearch and Tire will show how to make more complex search queries, customize the indexing, and add facets. (16 minutes)