Fixing warnings regarding deprecated parameter references in ERB file