Allow blocks to be passed and rendered properly in Rails 2.3/Ruby 1.8