sheng

Joined

370 Experience
3 Lessons Completed
0 Questions Solved

Activity

Posted in Vue.js Trello Clone in Rails - Part 8 Discussion

I am trying to extract mutations and store into its own store folder with store.js file. However, this.$store in Rails.ajax function is not working, it is returning undefined. While this.$store in other functions like computed is working fine.

Can find the code here: https://github.com/chickensmitten/trello-clone-vue-rails/commit/2a15ca60bfcedb55da5005421f8868a5e88a1e55

Posted in Why this error ? how I fix this.

Take a look at this documentation on how to use pry gem to debug this error. https://dev.to/elimerrell/debugging-with-pry-a-beginners-guide-3p99

But as I said, most likely, that patient object does not have an address. That is why you have that error.

Posted in Why this error ? how I fix this.

From the code, most likely that patient does not have an address. Have you tried using byebug or pry to take a look?

Posted in Why this error ? how I fix this.

To help me troubleshoot better, can you share all the attributes for the Patient Class and share the entire code for Patient model?

Posted in How do I deploy Spree Commerce to Heroku?

Good to know you have experience with Spree.

As for guides on how to deploy to production on AWS, for Elastic Beanstalk, maybe can take a look here (https://www.codewithjason.com/deploy-ruby-rails-application-aws-elastic-beanstalk/). For ec2, try this (https://ogdenstudios.xyz/blog/how-do-i-deploy-a-rails-6-app-to-amazon-ec-2/)

Generally, Spree and rails are relatively the same thing. So instead of searching for Spree + whatever services, try searching for rails + whatever services. You may have more luck there.

Posted in How do I deploy Spree Commerce to Heroku?

In any case, if you follow the instructions from spree gem, you should be able to create your rails app locally. Then, follow the instructions here to deploye to heroku: https://devcenter.heroku.com/articles/getting-started-with-rails6

It should not be hard to deploy to heroku. If you have more questions feel free to ask. Good luck. 😊

Posted in How do I deploy Spree Commerce to Heroku?

Hi, may I know what stage are you at right now with your application? Have you created a rails app following these instructions from the spree gem? https://github.com/spree/spree

If you have, where are you stuck specifically for the deployment to heroku?

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.