RailsCasts artwork

RailsCasts

346 episodes - English - Latest episode: almost 11 years ago - ★★★★★ - 213 ratings

Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This is the full resolution version, a lower reoslution for mobile devices is also available.

Technology Education How To rails ruby on rails screencasts podcasts tips tricks tutorials training programming railscast
Homepage Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed

Episodes

#146 PayPal Express Checkout

January 26, 2009 08:00 - 15 minutes - 28.9 MB Video

PayPal Express Checkout is easy to add to an existing ordering system. See how in this episode.

#145 Integrating Active Merchant

January 19, 2009 08:00 - 18 minutes - 30.1 MB Video

In this episode I show how to add Active Merchant's functionality to a Rails application to make a fully-functional checkout process.

#144 Active Merchant Basics

January 12, 2009 08:00 - 10 minutes - 15.4 MB Video

Active Merchant is a great library for handling credit card transactions. In this episode I will show you the basics of using it to communicate with PayPal's gateway.

#143 PayPal Security

January 05, 2009 08:00 - 11 minutes - 21.2 MB Video

This episode shows how to encrypt the variables passed to PayPal and verify the authenticity of the payment notifications (IPN).

#142 PayPal Notifications

December 29, 2008 08:00 - 10 minutes - 14.2 MB Video

PayPal's IPN (Instant Payment Notification) service allows your app to get confirmation when an order is processed. In this episode I use IPN to mark a cart as purchased.

#141 PayPal Basics

December 22, 2008 08:00 - 7 minutes - 14 MB Video

This episode is the first in a series on handling the checkout process for orders. Here we show how to complete purchases through PayPal's Website Payments Standard service.

#140 Rails 2.2 Extras

December 15, 2008 08:00 - 4 minutes - 5.97 MB Video

This episode finishes up the Rails 2.2 series by showing a few miscellaneous additions that I find useful.

#139 Nested Resources

December 08, 2008 08:00 - 10 minutes - 16.1 MB Video

In this episode I show how to nest resources through routing and go into some new additions in Rails 2.2.

#138 I18n

December 01, 2008 08:00 - 7 minutes - 15.3 MB Video

Internationalization is one of the biggest additions in Rails 2.2. See how the basics work in this episode.

#137 Memoization

November 24, 2008 08:00 - 5 minutes - 7.39 MB Video

Rails 2.2 is out! In this episode I show how to upgrade Rails and then demonstrate one of the new additions: Memoization.

#136 jQuery

November 17, 2008 08:00 - 9 minutes - 14.1 MB Video

How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS.

#135 Making a Gem

November 10, 2008 08:00 - 9 minutes - 14 MB Video

Want to create a Ruby Gem instead of a Rails plugin? In this episode I will walk you through creating a gem to extend Rails.

#134 Paperclip

November 03, 2008 08:00 - 7 minutes - 11.5 MB Video

Need to add image attachments to a model? See how with paperclip in this episode.

#133 Capistrano Tasks

October 27, 2008 07:00 - 8 minutes - 11.2 MB Video

Do you know how to make Capistrano tasks? See how to change default deployment behavior with custom tasks in this episode.

#132 Helpers Outside Views

October 20, 2008 07:00 - 6 minutes - 9.43 MB Video

Have you ever wanted to access helper methods outside of the view layer? In this episode I show you a couple ways to do just that.

#131 Going Back

October 12, 2008 07:00 - 4 minutes - 6.47 MB Video

This episode demonstrates a couple ways to redirect the user back to a previous page. Applying this to your site can help minimize the user's need to press the back button.

#130 Monitoring with God

October 05, 2008 07:00 - 14 minutes - 27.9 MB Video

Need to ensure your background processes stay up and running and don't use too many resources? Check out the god gem as shown in this episode.

#129 Custom Daemon

September 29, 2008 07:00 - 7 minutes - 9.02 MB Video

Creating a custom daemon to handle background tasks is surprisingly simple. In this episode I will make a daemon to handle dynamically scheduled tasks.

#128 Starling and Workling

September 22, 2008 07:00 - 9 minutes - 12.6 MB Video

Need to run a task frequently in the background? Starling and Workling is a killer combination for doing just that. See how in this episode.

#127 Rake in Background

September 15, 2008 07:00 - 10 minutes - 15.2 MB Video

In need of a background process? You may be able to accomplish this with a simple Rake task. See how in this episode.

#126 Populating a Database

September 08, 2008 07:00 - 8 minutes - 11.5 MB Video

Have you ever wanted to fill up a database with a lot of test data? See how to do that in this episode using the populator and faker gems.

#125 Dynamic Layouts

September 01, 2008 07:00 - 11 minutes - 18.9 MB Video

Discover how to dynamically change the layout using content in the database. Check out this episode for details.

#124 Beta Invitations

August 25, 2008 07:00 - 22 minutes - 33.5 MB Video

You know those invitation systems where a given user can invite a number of other people to join? That's what I show you how to make in this episode.

#123 Subdomains

August 18, 2008 07:00 - 18 minutes - 27.3 MB Video

Learn how to unleash the full potential of subdomains with the subdomain-fu Rails plugin in this episode.

#122 Passenger in Development

August 11, 2008 07:00 - 7 minutes - 14.4 MB Video

Tired of juggling multiple Rails apps around with script/server? See how to set up Passenger in development so each one has its own local domain name.

#121 Non Active Record Model

August 04, 2008 07:00 - 12 minutes - 16.4 MB Video

This episode will show you how to make a model which isn't based on Active Record. You may want to do this if a resource isn't backed by the database.

#120 Thinking Sphinx

July 28, 2008 07:00 - 12 minutes - 19.5 MB Video

If you need a full text search engine, Thinking Sphinx is a great solution. See why in this episode.

#119 Session Based Model

July 21, 2008 07:00 - 13 minutes - 21.3 MB Video

If you have a lot of logic associated with the data inside a session, you'll need some central location to put this logic. See how to create a session based model in this episode.

#118 Liquid

July 14, 2008 07:00 - 16 minutes - 25.3 MB Video

Liquid is a safe way to provide a powerful template language to the site's users. See how in this episode.

#117 Semi-Static Pages

July 07, 2008 07:00 - 14 minutes - 23.6 MB Video

Static pages can sometimes be a little awkward to add to a Rails app. See a couple different solutions to this problem in this episode.

#116 Selenium

June 30, 2008 07:00 - 9 minutes - 13.9 MB Video

Selenium is a great way to test your app automatically through a browser. See how it works in this episode.

#115 Caching in Rails 2.1

June 23, 2008 07:00 - 8 minutes - 11.3 MB Video

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode.

#114 Endless Page

June 16, 2008 07:00 - 8 minutes - 14.3 MB Video

Ever wondered how some sites seem to have endless scrolling page with no pagination? Find out how easy it is to do this in Rails in this episode.

#113 Contributing to Rails with Git

June 09, 2008 07:00 - 11 minutes - 29.2 MB Video

If you want Rails to behave a certain way, try changing it and submitting a patch. This episode will show how to do exactly this using Git.

#112 Anonymous Scopes

June 02, 2008 07:00 - 8 minutes - 16.2 MB Video

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.

#111 Advanced Search Form

May 26, 2008 07:00 - 7 minutes - 11.5 MB Video

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.

#110 Gem Dependencies

May 23, 2008 07:00 - 6 minutes - 9.8 MB Video

In Rails 2.1 we now have the ability to set gem dependencies. Now it's easier than ever to specify which ruby gems our rails app relies on.

#109 Tracking Attribute Changes

May 21, 2008 07:00 - 7 minutes - 8.73 MB Video

Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha! See this episode for details.

#108 named_scope

May 19, 2008 07:00 - 11 minutes - 13.7 MB Video

The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode.

#107 Migrations in Rails 2.1

May 16, 2008 07:00 - 4 minutes - 5 MB Video

Migrations now have a timestamp as their version number in Rails 2.1. In this episode I will explain this change as well as show you some other cool additions.

#106 Time Zones in Rails 2.1

May 14, 2008 07:00 - 6 minutes - 8.07 MB Video

In the past, time zones have been very difficult to work with, but no longer! Rails 2.1 brings with it great time zone support as you can see in this episode.

#105 Gitting Rails 2.1 RC1

May 12, 2008 07:00 - 6 minutes - 12.7 MB Video

Rails 2.1 Release Candidate 1 was just released! In this episode I will show you how to install it into your Rails project.

#104 Exception Notifications

May 05, 2008 07:00 - 8 minutes - 17 MB Video

If you're running a production site, it's a good idea to record all exceptions which occur. See how to set up a notification system which does that in this episode.

#103 Site Wide Announcements

April 28, 2008 07:00 - 13 minutes - 18.8 MB Video

Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode.

#102 Auto-Complete Association

April 21, 2008 07:00 - 13 minutes - 19.4 MB Video

Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion.

#101 Refactoring Out Helper Object

April 14, 2008 07:00 - 7 minutes - 14.2 MB Video

If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode. This is also known as the presenter pattern.

#100 5 View Tips

April 07, 2008 07:00 - 9 minutes - 16.4 MB Video

Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest!

#99 Complex Partials

March 31, 2008 07:00 - 8 minutes - 14 MB Video

How do you handle partials which have differences depending on the action which is rendering them? Here's three suggestions for this problem.

#98 Request Profiling

March 24, 2008 07:00 - 10 minutes - 28.1 MB Video

You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details.

#97 Analyzing the Production Log

March 17, 2008 07:00 - 5 minutes - 11.7 MB Video

In order to improve performance of your Rails application you need to find the bottlenecks. A great starting point is your production log. In this episode you will see how to use RAWK to analyze your log file and determine which controller actions take up the most processing time.