Closed igwtsoftware closed 9 years ago
Sorry to hear that!
What version of Rails are you using? Rails should automatically load everything under /app/services
Also, can you link me to where you found other people having the same issue?
Thanks for your answer. I'm following your books instructions so I'm using rails 4.0.3
The link where people are having the same issue is here: http://www.amazon.com/Shopify-Application-Development-Michael-Larkin/dp/1783281057/ref=sr_1_3?ie=UTF8&qid=1418138610&sr=8-3&keywords=shopify+apps
"We are all stuck at page 323, the TEST CONNECTION part just wont work."
Did this comment not help?
http://www.amazon.com/review/RJ01MXY3TZ756/ref=cm_cr_dp_cmt?ie=UTF8&ASIN=178 3281057&channel=detail-glance&nodeID=283155&store=books#wasThisHelpful
The publisher screwed up the files on their site and you have to get it from
https://github.com/mikelarkin/contestapp
https://github.com/mikelarkin/contestapp/blob/chapter_03/app/services/shopif y_integration.rb
Also happy to look at your code?
Thanks,
Mike mjlarkin@gmail.com 617-697-1176
From: igwtsoftware notifications@github.com Reply-To: mikelarkin/contestapp <reply+0000480925fd2729ea6daa26d361c7e5b5acf8382869dd5f92cf00000001109ed66a9 2a169ce02fe376c@reply.github.com> Date: Tuesday, December 9, 2014 at 3:25 PM To: mikelarkin/contestapp contestapp@noreply.github.com Cc: Michael Larkin mjlarkin@gmail.com Subject: Re: [contestapp] uninitialized constant AccountsController::ShopifyIntegration (#2)
Thanks for your answer. I'm following your books instructions so I'm using rails 4.0.3
The link where people are having the same issue is here: http://www.amazon.com/Shopify-Application-Development-Michael-Larkin/dp/1783 281057/ref=sr_1_3?ie=UTF8&qid=1418138610&sr=8-3&keywords=shopify+apps
"We are all stuck at page 323, the TEST CONNECTION part just wont work."
‹ Reply to this email directly or view it on GitHub https://github.com/mikelarkin/contestapp/issues/2#issuecomment-66299411 .
I am having the same problem, used the code from the github pages and I'm still having the same problems.
uninitialized constant AccountsController::ShopifyIntegration
Are you saving the code from https://github.com/mikelarkin/contestapp/blob/chapter_03/app/services/shopify_integration.rb
into the proper location? It needs to go into /app/services/shopify_integration.rb
Yes that code was copied in and in the correct place. I've just downloaded the whole of the chapter 3 branch from Git and copied the app/ folder over and it now works. So there must have been something wrong in another file in there, I assume one of the controllers.
Thanks
Ok, then likely that means the class wasn't being included correctly. Glad you figured it out, sorry for the hassle!
Thanks,
Mike mjlarkin@gmail.com 617-697-1176
From: RossUK88 notifications@github.com Reply-To: mikelarkin/contestapp <reply+00004809fd9f63b4a147067bcec121105b84a3dbfbfa071692cf0000000110fd6f129 2a169ce02fe376c@reply.github.com> Date: Thursday, February 19, 2015 at 4:29 AM To: mikelarkin/contestapp contestapp@noreply.github.com Cc: Michael Larkin mjlarkin@gmail.com Subject: Re: [contestapp] uninitialized constant AccountsController::ShopifyIntegration (#2)
Yes that code was copied in and in the correct place. I've just downloaded the whole of the chapter 3 branch from Git and copied the app/ folder over and it now works. So there must have been something wrong in another file in there, I assume one of the controllers.
Thanks
‹ Reply to this email directly or view it on GitHub https://github.com/mikelarkin/contestapp/issues/2#issuecomment-75020942 .
When I click the Test Connection button I get this error: "uninitialized constant AccountsController::ShopifyIntegration".
I googled and there are several people stuck on this error. (amazon)
After the shopify_integration.rb file is added to app/services/ should I do anything on the command line for it to be detected?