RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xRevised Episodes x
Destroy without JavaScript (revised)
Episode #77 – Jun 16, 2012 – 48 comments

Destroy without JavaScript (revised)

A destroy link in Rails does not work without JavaScript. In this episode I show two techniques for gracefully degrading destroy links: button_to and a delete action. (8 minutes)
Generating RSS Feeds (revised)
Episode #87 – May 26, 2012 – 69 comments

Generating RSS Feeds (revised)

If you have a page containing a dynamic list of records, consider providing an RSS or Atom feed for it. It is quite easy to do with XML Builder and the atom_feed helper method as shown in this episode. (8 minutes)
Sortable Lists (revised)
Episode #147 – Oct 13, 2011 – 131 comments

Sortable Lists (revised)

Here I show how to use jQuery UI to make a sortable list and a "sort" action to handle the updating. Top it off with acts_as_list to make it feature complete. (6 minutes)
Sending Email (revised)
Episode #61 – Apr 28, 2012 – 71 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)
Capistrano Tasks (revised)
Episode #133 – Mar 24, 2012 – 79 comments

Capistrano Tasks (revised)

Learn the basics of writing Capistrano tasks, how to set variables, and run commands on a remote server. Then peak into the internals of Capistrano's deploy tasks to see how they work. (10 minutes)
Dynamic Select Menus (revised)
Episode #88 – Nov 25, 2011 – 112 comments

Dynamic Select Menus (revised)

Do you need to dynamically change one select menu based on the value of another? Here I show how to filter states/provinces by a selected country using grouped options and a dab of CoffeeScript. (7 minutes)
Syntax Highlighting (revised)
Episode #207 – May 11, 2012 – 58 comments

Syntax Highlighting (revised)

Here I compare several syntax highlighting solutions and show how to use Pygments in a Rails app. I also show how to integrate it with Markdown and add caching. (8 minutes)
Endless Page (revised)
Episode #114 – Dec 16, 2011 – 101 comments

Endless Page (revised)

Transform traditional pagination into infinite scrolling which will automatically fetch more records when the user scrolls down to the bottom of the page. (7 minutes)
The Logger (revised)
Episode #56 – Apr 13, 2012 – 63 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)
HABTM Checkboxes (revised)
Episode #17 – Dec 22, 2011 – 94 comments

HABTM Checkboxes (revised)

A many-to-many association can be edited through check boxes in a form. Here I show how to do this with a has_many through association complete with clickable labels. (6 minutes)