How to add a Realtime Search Filter in Ruby on Rails 7

  Рет қаралды 1,103

Malachi Rails

Malachi Rails

Күн бұрын

Пікірлер: 3
@Veneris96
@Veneris96 7 ай бұрын
Excellent video, as usual brother. I just have one doubt: instead of an empty array how can I render a simple paragraph with an error message when the search produces no results? I tried fidgeting with the code but couldn't do it. Can you help? ):
@MalachiRails
@MalachiRails 7 ай бұрын
Yeah it should be simple enough. Just check search_results count == 0 Then throw an error as the notice variable. This is pretty easy to implement. In fact, you may find my mentorship program useful too. www.patreon.com/user?u=89485299&
@Veneris96
@Veneris96 7 ай бұрын
@@MalachiRails yes, well, I still can't figure it out for the life of me. sad.
Turbo Frames vs. Turbo Streams
8:25
Mix & Go
Рет қаралды 19 М.
Ruby on Rails #60 Hotwire Turbo Streams Autocomplete Search
27:28
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
A Legendary Web Framework is Reborn... In Rust
9:49
Code to the Moon
Рет қаралды 98 М.
Nested Attributes & Validation In Ruby On Rails 7
9:03
Deanin
Рет қаралды 6 М.
Avoid these 9 mistakes when learning Ruby on Rails
14:01
webcrunch
Рет қаралды 4,3 М.
Idempotency in Ruby on Rails
11:08
Deanin
Рет қаралды 1,6 М.
Cursor + Windsurf Settings to 5x AI's Output Quality (Works with VS Code too)
13:53
How to Implement a Search Feature in Ruby on Rails
16:22
Jesus Castello
Рет қаралды 20 М.
PirateSoftware is right, this needs to stop
15:14
Theo - t3․gg
Рет қаралды 170 М.
Dynamic Select Fields in Rails using Hotwire
19:46
GoRails
Рет қаралды 25 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН