scope書いてスコープ名、パラメーターをsendする。すると複数の検索条件をループで表現できるという話。超クール。where(nil)てなんだろ

kiyo_hikokiyo_hiko のブックマーク 2016/03/07 16:34

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Search and filter Rails models without bloating your controller

    Search and Filter Rails Models Without Bloating Your Controller Searching, sorting, and filtering in Rails controllers can be a pain. ElasticSearch and Solr are great, high-powered solutions, but a...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう