Using ransack to filter result

后端 未结 0 1534
醉酒成梦
醉酒成梦 2021-02-14 20:38

How can i use ransack to filter all results

#controller.rb

.......
       def index
        @q = Business.ransack(params[:q])
        @business = @q.result         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题