debugging buy.html.erb page