Lee McAlilly

Joined

2,160 Experience
21 Lessons Completed
0 Questions Solved

Activity

How does "resizable_image: true" work? I'm assuming that because you named your validator "resizable_image_validator.rb" with a class name "ResizableImageValidator" and then calling "validates :avatar, resizable_image: true" that rails is just doing some magic here.

Is that correct? How else would your user model know where to find ResizableImageValidator ? That wasn't really clear to me in the vid.

Has anyone started getting this error recently -> "Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone."

I'm stumped on how to fix it. Added a StackOverflow question on the topic here:

https://stackoverflow.com/questions/67993633/how-to-fix-this-in-error-rails-warning-299-elasticsearch-built-in-security-fea

Posted in Custom Rails Configuration Options Discussion

This was interesting to watch you walk through the Rails source code and connect it it to something you could do. Would like to see a practical use case for this. Not really sure how I might use this.

+1 to this question!

I'm getting this same error on the login form. The registration form works correctly. I'm using "@hotwired/turbo-rails": "^7.0.0-beta.5",

From what I can tell, Chris has also updated the source code for this episode to use beta.3. Not sure what I'm doing wrong here.

Posted in docker screencast?

+1 for a Docker lesson!

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

© 2021 GoRails, LLC. All rights reserved.