RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: testing xControllers x
Service Objects
Episode #398Dec 18, 2012114 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 #71Sep 17, 200759 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 #123Aug 18, 200882 comments

Subdomains

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