- Jan 21, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Move all network/lookup-related methods into it.
-
Alex Reisner authored
Move some methods into it (organize!).
-
- Nov 26, 2010
-
-
matchu authored
-
- Nov 04, 2010
-
-
Alex Reisner authored
This fixes an incompatibility with the will_paginate gem.
-
- Oct 15, 2010
-
-
Alex Reisner authored
-
Alex Reisner authored
This fixes SQLite near methods and speeds up MySQL and Postgres.
-
Alex Reisner authored
Add a GROUP BY clause which yields correct SQL. (Incorrect query is accepted by MySQL and SQLite but not PostgreSQL.)
-
- Oct 05, 2010
-
-
Alex Reisner authored
Stop allowing full :conditions option to near_scope_options (was deprecated, now it's gone). Update installation documentation.
-
Alex Reisner authored
Should be slightly faster and we avoid an ugly REXML require statement.
-
- Sep 15, 2010
-
-
Alex Reisner authored
"bad" = non-200 HTTP code
-
Alex Reisner authored
We were checking for a blank query in fetch_coordinates, now we do it in _fetch_xml.
-
Alex Reisner authored
-
Alex Reisner authored
-
- Aug 02, 2010
-
-
Alex Reisner authored
-
Alex Reisner authored
Was using version 2. Version 3 no longer requires an API key so this is a big improvement to the getting started experience.
-
Alex Reisner authored
The 'nearbys' method previously returned an array. It now returns a scope, which is much better. It was also passing an options argument to default_near_scope_options which was being ignored. It is no longer ignored, but passing options this way is now deprecated due to the scope chaining syntax provided by Rails 3. Support for Rails 2 will be discontinued soon, or at least moved to a different branch.
-
Alex Reisner authored
The method was removed from Rails 3 RC 1, though it appears it will be included in the final release. See: Removed: http://github.com/rails/rails/commit/b0b9bf320409b66c6c6b680371aca590297cd4cc Reinstated: http://github.com/rails/rails/commit/88b5f938cf7d3eb26ad204451a4dbb9c2cf4f571
-
- Jun 21, 2010
-
-
Alex Reisner authored
This option is not recommended but it must be available for consistency. The API should support the same options regardless of the algorithm used for finding nearby objects. Also move shared :conditions to default_near_scope_options.
-
- Jun 20, 2010
-
-
Weston Triemstra authored
-
- Jun 03, 2010
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
PostgreSQL doesn't support the "X,Y" format for the LIMIT clause, and this is proper use of ActiveRecord anyway. In response to bug reported by Github user kenzie.
-
- May 04, 2010
-
-
Alex Reisner authored
-
- Mar 31, 2010
-
-
alexreisner authored
-
alexreisner authored
Avoid using column aliases in the HAVING clause (not allowed by PostgreSQL).
-
- Feb 12, 2010
-
-
alexreisner authored
-
- Feb 11, 2010
-
-
alexreisner authored
-
- Nov 25, 2009
-
-
alexreisner authored
This less accurate SQLite-compatible implementation is activated automatically if an SQLite database is being used.
-
alexreisner authored
-
alexreisner authored
-
- Nov 04, 2009
-
-
Alex Reisner authored
-
Alex Reisner authored
method.
-
Alex Reisner authored
When calculating geographic center, convert from degrees to radians before computation, then back again before returning.
-
Alex Reisner authored
-
- Nov 03, 2009
-
-
Alex Reisner authored
This reverts commit fc0b5ba9.
-
Alex Reisner authored
-
Alex Reisner authored
-
- Oct 27, 2009
-
-
Alex Reisner authored
-