RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: testing xControllers x
Service Objects
Episode #398 – Dec 18, 2012 – 114 comments

Service Objects

Models can quickly become a grab-bag of unrelated methods if behavior is constantly being pushed from the controller. Here I show how to refactor this using Concerns and Service Objects. (12 minutes)
Testing Controllers with RSpec
Episode #71 – Sep 17, 2007 – 59 comments

Testing Controllers with RSpec

Controllers are tricky to test, and there's no perfect way to do it. In this episode you will see how I test controllers, and my reasoning behind it. (11 minutes)
Subdomains
Episode #123 – Aug 18, 2008 – 82 comments

Subdomains

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