E
E
eldar_web2015-05-28 05:22:04
css
eldar_web, 2015-05-28 05:22:04

How to find a filter (input-search) for Rails?

In php, you can immediately connect bootstrap.widgets.TbGridView, and there are already ready-made filters for table fields, but what is there in Rails?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Elwen, 2018-07-16
@To4KaXD

input {
  background: none;
  border: 1px solid rgba(255,255,255,.5);
}

O
OnYourLips, 2015-05-28
@OnYourLips

A normal controller method that queries the model. If the logic is complex, then add another method to the model.
It is not necessary to use widgets in rails for such a task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question