rails helper inputs