use rails method to display price