Allan Tokuda
Results
3
comments of
Allan Tokuda
Seemingly related, I am seeing that I cannot do use ActiveRecord `.count` (and hence sometimes also `.size`) on the result. Seems like it's caused by there being that `AS` alias...
Thank you @alexreisner, yes this does work! `Location.all.near('Minneapolis', 100).count(:all)` In case it helps anyone, I got stuck again at a related problem where our app actually further refines the query...