Комментарии:
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.
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.
Absolutely love your videos! Keep them coming. Thank you for all your support.
Ответить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!
Ответитьsadly this does not work for elastic search version 8.8
Ответить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!
ОтветитьI am getting Faraday::TimeoutError - Net::ReadTimeout with #<Socket:(closed)>: after posting something
Ответитьuseful : )
ОтветитьCan you make a video "How to login using Metamask with Rails 7 and Devise?" would be great! Thank you very much.
ОтветитьAny plans on ruby 3.2 updates video.
Ответить