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.
Posted in Advanced Search, Autocomplete and Suggestions with ElasticSearch and the Searchkick gem Discussion
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:
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
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!