Update helpers.rb

Add support to change rate