Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Sending Email (revised)
Episode #61Apr 28, 201228 comments

Sending Email (revised)

Thanks to Action Mailer, sending email in Rails is easy but there are several gotchas to be aware of. Here I show how to send an email upon submitting a form and the configuration options necessary. (8 minutes)
Hstore
Episode #345Apr 24, 201253 comments

Hstore

With hstore you can add schema-less data to PostgreSQL. This allows you to store model attributes without creating separate database columns. Watch how to do this using the activerecord-postgres-hstore gem. (10 minutes)
Queue Classic
Episode #344Apr 24, 201226 comments

Queue Classic

PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem. (8 minutes)
Nested Model Form (revised)
Episode #196Apr 19, 2012155 comments

Nested Model Form (revised)

Handling multiple models in a single form is easy with accepts_nested_attributes_for. Here you will also learn how to add and remove nested records through JavaScript. (11 minutes)
Full-Text Search in PostgreSQL
Episode #343Apr 17, 201288 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)
Migrating to PostgreSQL
Episode #342Apr 17, 201291 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)
The Logger (revised)
Episode #56Apr 13, 201220 comments

The Logger (revised)

The log file will show what is going on behind the scenes of a Rails request. Learn how to log messages, add tags, override formatting, and more. (6 minutes)
Asset Pipeline in Production
Episode #341Apr 11, 201223 comments

Asset Pipeline in Production

The Asset Pipeline is very useful, but it can be a pain in production. Here I show why it works the way it does, and how to customize it to fit your deployment setup. (13 minutes)
DataTables
Episode #340Apr 11, 2012120 comments

DataTables

DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source. (9 minutes)
Debugging Ruby (revised)
Episode #54Apr 07, 201214 comments

Debugging Ruby (revised)

This episode will show you how to debug a rails app using the "debugger" gem: set a breakpoint, inspect variables and change the executed code at runtime. (7 minutes)