Ruby on Rails Thursday, February 9, 2017

I've got a simple cart table with a link to a product id.  

I'd like to grab the values from the product table that match the product id in the cart, but I'm looping thru the cart in an index view.
So, I wasn't quite sure how to accomplish this.

any suggestions?

Thanks,
Joe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/11644a88-e242-4cf4-81c4-a6c4f6fd4bbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment