Rails 4 support

All specs passing: https://travis-ci.org/codepodu/rails3_before_render