Railscasts

Three times a week you will be treated to a new 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.

#283 Authentication with Sorcery


5 months ago by Ryan Bates on Railscasts.
Sorcery is a full-featured, modular solution to authentication which leaves the controller and view layers up to you....

#282 Upgrading to Rails 3.1


5 months ago by Ryan Bates on Railscasts.
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...

#281 Foreman


5 months ago by Ryan Bates on Railscasts.
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...

#280 Pry with Rails


6 months ago by Ryan Bates on Railscasts.
Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it can aid in debugging....

#279 Understanding the Asset Pipeline


6 months ago by Ryan Bates on Railscasts.
The asset pipeline is probably the biggest feature in Rails 3.1, but it can seem like magic at first. Here I dive into exactly how the asset pipeline works...

#278 Search with Sunspot


6 months ago by Ryan Bates on Railscasts.
Sunspot makes it easy to do full text searching through Solr. Here I show how to search on various attributes and add facets for filtering the search further...

#277 Mountable Engines


6 months ago by Ryan Bates on Railscasts.
Engines are receiving a major update in Rails 3.1. You can mount them at any path, embed assets, run generators and more. See how in this episode....

#276 Testing Time & Web Requests


7 months ago by Ryan Bates on Railscasts.
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...

#275 How I Test


7 months ago by Ryan Bates on Railscasts.
Here I show how I would add tests to the password reset feature created in the previous episode. I use RSpec, Capybara, Factory Girl, and Guard to make...

#274 Remember Me & Reset Password


7 months ago by Ryan Bates on Railscasts.
It is easy to create authentication from scratch, but how do we extend it with more features? Here I add a "remember me" check box and a "forgotten password...