RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails x
Brakeman
Episode #358Jun 15, 201270 comments

Brakeman

The Brakeman gem will scan the Ruby code of a Rails application and alert you to common security vulnerabilities. (8 minutes)
Cache Digests
Episode #387Oct 20, 201291 comments

Cache Digests

The cache_digests gem (also included in Rails 4) will automatically add a digest to the fragment cache key based on the template. If a template changes the cache will auto-expire. But watch out for the gotchas! (7 minutes)
Globalize3
Episode #338Apr 04, 201267 comments

Globalize3

Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode. (5 minutes)
App Templates in Rails 2.3
Episode #148Feb 09, 200950 comments

App Templates in Rails 2.3

In Rails 2.3 you can provide a template when generating a new Rails application. See how in this episode. (11 minutes)
Rails Engines
Episode #149Feb 16, 200958 comments

Rails Engines

Rails 2.3 brings us much of the same functionality as the Rails Engines plugin. Learn how to embed one application into another in this episode. (8 minutes)
Public Activity
Episode #406Feb 13, 2013155 comments

Public Activity

Learn how to easily add a user activity feed using the public_activity gem. Here I show both the default setup using model callbacks and a manual way to trigger activities. (10 minutes)
Exploring RubyGems
Episode #384Oct 07, 201284 comments

Exploring RubyGems

RubyGems can make it easy to add a feature to a Rails application, but it can also cause headaches down the road. Here I give some tips on researching gems to decide which one to choose, or when to do it from scratch. (7 minutes)
Debugging Ruby (revised)
Episode #54Apr 07, 201257 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)
Hackers Love Mass Assignment (revised)
Episode #26Mar 08, 201266 comments

Hackers Love Mass Assignment (revised)

One of the most common security issues in a Rails application is the mass-assignment vulnerability which allows a user to set any attribute on the model. Learn how to prevent it in this episode. (6 minutes)
Rails Metal
Episode #150Feb 23, 200944 comments

Rails Metal

Rails Metal is a way to bypass the standard Rails request process for a performance boost. In this episode you will learn how to shave off a few milliseconds using Metal. (9 minutes)