RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: css x
Syntax Highlighting (revised)
Episode #207May 11, 201258 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)
Cropping Images (revised)
Episode #182Dec 02, 201171 comments

Cropping Images (revised)

Allow users to interactively crop uploaded images using Jcrop and Carrierwave. Includes a live preview that shows the resulting image. (11 minutes)
Getting Started with Rails
Episode #310Dec 26, 201161 comments

Getting Started with Rails

Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to help get started with Rails. (7 minutes)
Upgrading to Rails 3.1
Episode #282Sep 05, 201153 comments

Upgrading to Rails 3.1

It is incredibly easy to upgrade to Rails 3.1, but if you want to take advantage of the asset pipeline you will need to put in some extra effort. Have no fear because I walk you through each of the necessary steps in this episode. (8 minutes)
Search, Sort, Paginate with AJAX
Episode #240Nov 15, 2010124 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)
Guard
Episode #264May 02, 201157 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)
Sortable Table Columns
Episode #228Aug 23, 201097 comments

Sortable Table Columns

Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header. (10 minutes)
Calendars
Episode #213May 10, 2010103 comments

Calendars

If dates play an important role in your application, consider adding a date picker or calendar view as shown in this episode. (9 minutes)
Syntax Highlighting
Episode #207Mar 29, 201042 comments

Syntax Highlighting

Here I talk about three popular choices for syntax highlighting in Rails: CodeRay, Ultraviolet and Pygments. (9 minutes)
Making Generators in Rails 3
Episode #218Jun 14, 201040 comments

Making Generators in Rails 3

Generators in Rails 3 have been rewritten to use Thor which means the code used to create a generator is quite different. Here you will learn the new way to make generators in Rails 3. (10 minutes)