How to Implement a Search Feature in Ruby on Rails

How to Implement a Search Feature in Ruby on Rails

Jesus Castello

5 лет назад

20,372 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@rayojpai
@rayojpai - 31.05.2023 19:51

Thanks man!! I wasted my whole day trying to make this work and this is the first tutorial that is useful. I need to make this with JS and Ajax, do u know if it is too different?

Ответить
@neuromancersmith9890
@neuromancersmith9890 - 08.09.2021 12:25

Thank you!!!

Ответить
@JamesSmith-vn2kl
@JamesSmith-vn2kl - 11.06.2021 14:53

Cool! Simple pure ruby code without gems))

Ответить
@rage1694
@rage1694 - 19.05.2021 11:04

Sir...I m getting error (Missing Template) after this step <%= render @books%>

Ответить
@RamintaKairyte
@RamintaKairyte - 04.12.2020 16:41

Thank you!!! I Like that you explain it all step by step and slow :) Thanks!! By the way, not the newbies: if the render doesnt work, just copy paste the same form/template what you have on the index page.

Ответить
@jessicasullivan5255
@jessicasullivan5255 - 22.11.2020 14:39

I want to search through an API, do you have any advice on that?

Ответить
@abhishekjadav2371
@abhishekjadav2371 - 09.08.2020 18:17

Really appreciate your efforts sir, it help us improve our understanding of the Framework. However, is the any alternative for LIKE query, because as the DB expands the LIKE query slows down the performance of app.

Ответить
@heyimanh
@heyimanh - 22.07.2020 02:45

heeeeeeeeeey. thanks for another awesome video. I'm learning Ruby on Rails in bootcamp right now and your materials are perfect supplements. :)

Ответить
@piperpipe201
@piperpipe201 - 04.07.2020 18:00

Perfect, exactly what I was looking for. Thankyou!

Ответить
@prabam6746
@prabam6746 - 14.06.2020 18:47

speed=1.5x ! thanks me later! great Video!

Ответить
@MaZirRo
@MaZirRo - 01.06.2020 18:36

Jesus Castello, I have a problem because when I search for an article I get the error "Missing partial @ post / _post [..]". This error relates to <% = render @posts%> in search.erb. You may know what the problem might be because I don't know how to fix it; /

Ответить
@MgnMtn
@MgnMtn - 12.04.2020 17:51

great video, thanks for your help

Ответить
@gerard_donnelly
@gerard_donnelly - 20.01.2020 18:13

Great video. Very straight forward

Ответить
@ryanmindigo7446
@ryanmindigo7446 - 19.01.2020 06:05

how make it not case sensitive?

Ответить
@friendofcomputer
@friendofcomputer - 29.10.2019 16:34

It throws error if there is no results. How to tackle this?

Ответить
@DR-qm3yv
@DR-qm3yv - 29.08.2019 13:22

good

Ответить
@Xero0077
@Xero0077 - 29.03.2019 02:38

Awesome tutorial. Keep it up

Ответить