test/integration/app/config/environment.rb in ultrasphinx-1.9 vs test/integration/app/config/environment.rb in ultrasphinx-1.11
- old
+ new
@@ -9,7 +9,8 @@
config.load_paths << "#{RAILS_ROOT}/app/models/person" # moduleless model path
end
Ultrasphinx::Search.client_options["finder_methods"].unshift("custom_find")
+Ultrasphinx::Search.query_defaults["location"]["units"] = "degrees"
# Dependencies.log_activity = true