We're uploading Monday-Friday now. Sorry this one is late, took me a while to get the Stimulus portion working haha. Still learning along with everyone as I make these.
Hi @Deanin. Thank you so much for this video. I have a question though. I can't seem to be able to go further beyond this point. I need to aggregate the search keywords and display the analytics. Is it possible with the current project or a different setup is required?
Hi, thank you for the video. It is really helpful. I have a quick question, where and when would I reindex the Post in a production environment? Thank you!
Hey Dean, thanks for the video! I followed this and it's working beautifully. One question - How would I go about deploying this to a staging/production environment? I've had a look online but it's all pretty confusing. Thanks again!
@@monroemann since heroku is no longer free I think AWS would be a better option, but I'd also like to know if there's a clear path to getting that to actually become a usable website 😁
Thank you for your video , when i followed this tutorial on my local host. i add gem 'searchkick', gem 'elasticsearch', '~> 7.17' ,gem 'foreman', github: 'ddollar/foreman' then bundle install.Then add searchkick into ProductsController. But it throw error : undefined local variable or method `searchkick' for ProductsController:Classsearchkick I try to bundle install again and restart many time but it doesnt work. Can you help me out.
th-cam.com/video/FUAfunx9X6w/w-d-xo.html Why don't you stream back, within the same controller action: both the search results, and also the search suggestions? I don't understand why you are using JS to do the same thing that hotwire was built to do?
I’m sorry but this one is the worst tutorial I’ve watched yet. It’s all over the place. The first half is not followable at all. You mentioned files that you didn’t even bother to show …
Hi All! I have this line of code: But when I try to go to the form, I get this error: NameError in Interactions#new Showing /mnt/c/coding/contactpoints/app/views/interactions/_contact_search_form.html.erb where line #25 raised: undefined local variable or method `results' for # '.freeze;@output_buffer.append=( render partial: "search/suggestions", locals: {results: results} );@output_buffer.safe_append=' ^^^^^^^ Extracted source (around line #25): 23 data-action="mousedown -> search#childClicked"> 24 25 26 27 28
def index @results = search_for_products respond_to do |format| format.turbo_stream do render turbo_stream: turbo_stream.update("names", partial: "display",locals: {products: @results} ) end end end ActionController::UnknownFormat Can some one help me out.
We're uploading Monday-Friday now. Sorry this one is late, took me a while to get the Stimulus portion working haha.
Still learning along with everyone as I make these.
great video..
Super useful demo !
Absolutely love your videos! Keep them coming. Thank you for all your support.
Hi @Deanin. Thank you so much for this video. I have a question though. I can't seem to be able to go further beyond this point. I need to aggregate the search keywords and display the analytics. Is it possible with the current project or a different setup is required?
Hi, thank you for the video. It is really helpful. I have a quick question, where and when would I reindex the Post in a production environment? Thank you!
Any plans on ruby 3.2 updates video.
I didn't have any, but I can certainly try to put one together because that's a great idea!
@@Deanin thank you!
Hey Dean, thanks for the video! I followed this and it's working beautifully. One question - How would I go about deploying this to a staging/production environment? I've had a look online but it's all pretty confusing. Thanks again!
Do you mean to someplace like Heroku?
@@monroemann since heroku is no longer free I think AWS would be a better option, but I'd also like to know if there's a clear path to getting that to actually become a usable website 😁
Thank you for your video , when i followed this tutorial on my local host.
i add gem 'searchkick', gem 'elasticsearch', '~> 7.17' ,gem 'foreman', github: 'ddollar/foreman' then bundle install.Then add searchkick into ProductsController. But it throw error :
undefined local variable or method `searchkick' for ProductsController:Classsearchkick
I try to bundle install again and restart many time but it doesnt work. Can you help me out.
Can you make a video "How to login using Metamask with Rails 7 and Devise?" would be great! Thank you very much.
sadly this does not work for elastic search version 8.8
So what is the solution then? Use a prior version of the elastic search gem?
@@monroemann yes use an older version as far as I know
useful : )
th-cam.com/video/FUAfunx9X6w/w-d-xo.html Why don't you stream back, within the same controller action: both the search results, and also the search suggestions? I don't understand why you are using JS to do the same thing that hotwire was built to do?
Your explanation is faster, it should be slower, it is a bit difficult to follow your explanation.
I’m sorry but this one is the worst tutorial I’ve watched yet. It’s all over the place. The first half is not followable at all. You mentioned files that you didn’t even bother to show …
Hi All! I have this line of code:
But when I try to go to the form, I get this error:
NameError in Interactions#new
Showing /mnt/c/coding/contactpoints/app/views/interactions/_contact_search_form.html.erb where line #25 raised:
undefined local variable or method `results' for #
'.freeze;@output_buffer.append=( render partial: "search/suggestions", locals: {results: results} );@output_buffer.safe_append='
^^^^^^^
Extracted source (around line #25):
23 data-action="mousedown -> search#childClicked">
24
25
26
27
28
Any idea why I am getting this error? Thank you!
def index
@results = search_for_products
respond_to do |format|
format.turbo_stream do
render turbo_stream:
turbo_stream.update("names", partial: "display",locals: {products: @results} )
end
end
end
ActionController::UnknownFormat
Can some one help me out.