This probably won't be of interest to anyone who isn't a
Ruby on Rails developer, but since it seems that the thing to do in the Rails community is share tips in blog posts, I thought I might as well jump on the bandwagon.
content_for is a great method to use in Rails views, but I found it hard to test in
RSpec -- I couldn't mock the right object
(
Read more... )