Last active
April 11, 2019 21:24
-
-
Save puppe1990/387acf89dfa7e589cf78ac50965cd127 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update_product(id, ncm, cest) | |
product = Product.find id | |
product.update(ncm: ncm, cest: cest) | |
end | |
id = '' | |
ncm = '' | |
cest = '' | |
update_product(id, ncm, cest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment