Hey there,
Im going to as what im sure is a newbie question but from all my
googling and trial an error and i cannot seem to figure out how to do
this.
Basically im in the process of trying to learn RoR, to do this im
building a test app that interacts with the Shopify API ( We use shopify
a lot at my work ).
I have the app set up to pull a product and this is saved as an object (
That all works fine ):
product = ShopifyAPI::Product.find( {{ product.id }} )
What im wanting to do is populate a form with the data from this object
e.g. title, description etc so that users of the app can edit products
from the app, click save and it will update the product within shopify.
The bit im stuck on is actually populating a form the the object data, i
know how to call save once the changes have been done, i just cant work
out how to actually populate the form.
Im sure this is dead easy but i just cant seem to work it out
Thanks in advance