Realtime Search Autocomplete Suggestions | Ruby On Rails 7 Tutorial

  Рет қаралды 7,447

Deanin

Deanin

Күн бұрын

Пікірлер: 24
@Deanin
@Deanin Жыл бұрын
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.
@developerfoe
@developerfoe Жыл бұрын
great video..
@jamesli395
@jamesli395 Ай бұрын
Super useful demo !
@monroemann
@monroemann Жыл бұрын
Absolutely love your videos! Keep them coming. Thank you for all your support.
@compusoftsolutionshub
@compusoftsolutionshub 11 ай бұрын
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?
@yuanweizhou935
@yuanweizhou935 Жыл бұрын
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!
@lipin007
@lipin007 Жыл бұрын
Any plans on ruby 3.2 updates video.
@Deanin
@Deanin Жыл бұрын
I didn't have any, but I can certainly try to put one together because that's a great idea!
@lipin007
@lipin007 Жыл бұрын
@@Deanin thank you!
@liamjames1027
@liamjames1027 Жыл бұрын
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
@monroemann Жыл бұрын
Do you mean to someplace like Heroku?
@cheddargt
@cheddargt Жыл бұрын
@@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 😁
@duybao2136
@duybao2136 Жыл бұрын
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.
@Test-fe3fo
@Test-fe3fo Жыл бұрын
Can you make a video "How to login using Metamask with Rails 7 and Devise?" would be great! Thank you very much.
@dc366
@dc366 Жыл бұрын
sadly this does not work for elastic search version 8.8
@monroemann
@monroemann Жыл бұрын
So what is the solution then? Use a prior version of the elastic search gem?
@dc366
@dc366 Жыл бұрын
@@monroemann yes use an older version as far as I know
@azizdevfull
@azizdevfull Жыл бұрын
useful : )
@pging8328
@pging8328 Жыл бұрын
kzbin.info/www/bejne/fIakl6ikrZ6LbNk 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?
@saduschima
@saduschima 2 ай бұрын
Your explanation is faster, it should be slower, it is a bit difficult to follow your explanation.
@TammyRodgriguezTammycake
@TammyRodgriguezTammycake 10 ай бұрын
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 …
@monroemann
@monroemann Жыл бұрын
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!
@duyphamhoangbao7090
@duyphamhoangbao7090 Жыл бұрын
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.
Svelte On Rails With Tailwind | Ruby On Rails 7
9:48
Deanin
Рет қаралды 3 М.
Ruby on Rails #60 Hotwire Turbo Streams Autocomplete Search
27:28
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Pundit Gem For Authorization In Ruby On Rails 7
21:27
Deanin
Рет қаралды 8 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 910 М.
Making A Chatroom (Speedrun) | Ruby On Rails 7
22:14
Deanin
Рет қаралды 3,4 М.
Ruby on Rails Hotwire + Turbo for Beginners
17:11
Malachi Rails
Рет қаралды 4,9 М.
Intro To View Components In Ruby On Rails 7
35:27
Deanin
Рет қаралды 8 М.
Turbocharged realtime search with Ruby on Rails 7
25:55
webcrunch
Рет қаралды 6 М.