Alex Ponomarev
Results
2
comments of
Alex Ponomarev
@mateuszpalyz, just use the `with_pg_search_rank` scope, like this: `Post.search_by_title('some title').with_pg_search_rank.uniq`. See scope source [here](https://github.com/Casecommons/pg_search/blob/v1.0.5/lib/pg_search/scope_options.rb) (v.1.0.5) if interested, it just adds proper selects as suggested above. Adding it automatically is definately...
I've got same error as michael-ns when pushing to heroku. If I include node-modules folder into the repo I get `Errno::EPIPE: Broken pipe` error. Any suggestions? As a workaround you...