Guest User

Untitled

a guest
Feb 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. !! Trying to get a dynamic image to result in fork_black_4.gif with food_rating as an integer
  2.  
  3. def consumer_menu_selection
  4. @vendor = Vendor.find(params[:id])
  5. vendor_food_rating_image = "fork_black_"+ @vendor.food_rating + ".gif"
  6.  
  7. end
Add Comment
Please, Sign In to add comment