mikelarkin / contestapp

Source code for Shopify Application Development book
https://www.packtpub.com/web-development/shopify-application-development
MIT License
12 stars 19 forks source link

"undefined method `year' for nil:NilClass" when importing Orders #5

Closed bittheory closed 8 years ago

bittheory commented 8 years ago

Hi Mike, Thanks for the great book. Started on this 8th August 2016. Getting the above error. Did some investigation, and it seemed to be a Rails bug on ruby >2.1.x. I initially had to raise the ruby version to 2.3.1 because the shopify api gem wouldn't install on anything lower.

I have tried raising rails all the way up to 4.2.7.1 but still had this error. Is there something I'm doing wrong?

Regards, Steven

bittheory commented 8 years ago

Actually, forget that - forgot to restart the Rails server after upgrading. Works properly on rails 4.0.13

Thanks!