Juliano Saunders

Joined

2,650 Experience
26 Lessons Completed
0 Questions Solved

Activity

To be fair, Ajax is something that has also confused me quite a bit. I quite like this idea!

Posted in Is Ruby on Rails still relevant in 2023 ?

In London, there are quite a few small to medium sized companies that work with Ruby on Rails, including relatively recent companies. I think for start-ups is quite a nice choice, because you can go from nothing to deploying a proof of concept very quickly, and then from there scaling is also quite easy. You can focus on the task at hand rather than setting up and configuring.

Ruby on Rails is also quite accessible, so you don't need to hire engineers that are specialized on rails. I myself have only really worked with ruby on rails for the last 2 years, and yet I feel quite at home with it.

Would appreciate some help - when I set the active_storage.service to :local, I am able to reproduce the same results as Chris did. But not with the service pointing at :amazon. I have setup the AWS S3 bucket with the same settings and all the configurations on the codebase. This is the error I get on the browser console:

Access to XMLHttpRequest at 'https://juliano-gorails-blog.s3.amazonaws.com/.....' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Posted in Adding Scheduled Blog Posts Discussion

In the last video we changed the database to PostgreSQL and had to re-create the databases. As a result, this caused us to lose our data on our local machines. Therefore we needed to run rails db:seed again to populate it with the user so that we can login.

Hopefully that explains the issues you were having :D

Posted in Deploying our Rails Blog to Production Discussion

Thanks for sharing this TeeJay! I was getting the error: ConnectionBad: could not translate host name " to address: Name or service not known and using the external URL solved it. I think as Jonathon has said, its due to having two different regions