RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources x
Foreman
Episode #281 – Aug 29, 2011 – 43 comments

Foreman

Foreman can help manage multiple processes that your Rails app depends upon when running in development. It also provides an export command to move them into production. (4 minutes)
Testing Time & Web Requests
Episode #276 – Jul 25, 2011 – 50 comments

Testing Time & Web Requests

It can be difficult to test code that deals with the current time or an external web request. Here I show you how to do both using the Timecop and FakeWeb gems. (8 minutes)
Sass Basics
Episode #268 – May 30, 2011 – 66 comments

Sass Basics

Sass extends CSS with variables, nesting, mixins and more. Here I show how to convert plain CSS to SCSS in a Rails 3.1 app. (13 minutes)
Nested Model Form Part 2
Episode #197 – Jan 18, 2010 – 215 comments

Nested Model Form Part 2

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery. (12 minutes)
Client Side Validations
Episode #263 – Apr 25, 2011 – 76 comments

Client Side Validations

Showing validation errors inline as the user is filling out the form can lead to a better use experience. Learn how to do this using the Client Side Validations gem. (8 minutes)
Search, Sort, Paginate with AJAX
Episode #240 – Nov 15, 2010 – 124 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)
Pagination with Kaminari
Episode #254 – Feb 21, 2011 – 91 comments

Pagination with Kaminari

If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with Active Record queries. Did I mention it also works with Mongoid? (8 minutes)
HTTP Streaming
Episode #266 – May 16, 2011 – 53 comments

HTTP Streaming

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. (9 minutes)
Guard
Episode #264 – May 02, 2011 – 57 comments

Guard

Guard watches files and runs a command after a file is modified. This allows you to automatically run tests in the background, restart your development server, reload the browser, and more. (8 minutes)
Template Inheritance
Episode #269 – Jun 06, 2011 – 43 comments

Template Inheritance

In Rails 3.1 the controller inheritance also applies to the view layer. Here I show how to add an application template which is shared by all views, and a lookup path for overriding templates based on the subdomain. (8 minutes)