fixing rails 2.3 helper for capy2.X support