Update helpers.rb

Add support to long rending