Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: search xFree Episodes xActive Record x
Advanced Search Form
Episode #111May 26, 2008104 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)
MetaWhere & MetaSearch
Episode #251Jan 31, 201161 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)
Migrating to PostgreSQL
Episode #342Apr 17, 2012128 comments

Migrating to PostgreSQL

Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new application, and transition from an existing SQLite app using the "taps" gem. (8 minutes)
Searchlogic
Episode #176Aug 24, 200991 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, 2008113 comments

Thinking Sphinx

If you need a full text search engine, Thinking Sphinx is a great solution. See why in this episode. (12 minutes)
Anonymous Scopes
Episode #112Jun 02, 200866 comments

Anonymous Scopes

The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form. (8 minutes)
7 Security Tips
Episode #178Sep 07, 200959 comments

7 Security Tips

Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection. (14 minutes)