group by Ransack

前端 未结 0 1915
梦谈多话
梦谈多话 2020-12-23 02:25

I have a Products and ProductSize, that connected by product_id. This my controller and model below.

def index
 @q = Product.ransack(params[:q])
 @products =          


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