Adam Robertson

Results 26 comments of Adam Robertson

@nertzy Any more thoughts about this? I would like to improve performance when searching against other models (also adding `tsv_extended` column so I can give users the option of whether...

And to clarify, by SQL-only, I mean we can drop the `against` option and just have the SQL trigger do the heavy lifting.

I did end up going this route and just using `against: []` in the search scope. Works really well in my case. In case others don't want to bang their...

Also, and somewhat unrelated: any hints on whether there's a rolling restart would be great, as I used to get a seamless deploy with puma/sidekiq capistrano configs, but foreman doesn't...

Sounds reasonable. A couple of use cases we're currently needing this for / implementing via resources: * An overall system admin should be able to filter on other admins (we...

I was able to get streaming working using the following (in a controller method): ```ruby def export sql = MyModel.where(something: 'test').where.not(something: 'else').to_sql headers['Content-Type'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' headers['Content-disposition'] = "attachment; filename=\"#{filename}.xlsx\"" headers['X-Accel-Buffering']...

My streaming example should be about as fast as it can possibly get since it's a single query without model or "array of records" involvement. It also has the advantage...

@Eregrith It actually doesn't work--I tried implementing both rejection and catch, but neither squashes the error. I'm creating a PR now, but can't tell how to build the project since...

Actually nevermind, it's old enough to be using grunt, got it built :-)