Commit graph

6 commits

Author SHA1 Message Date
Tom Hughes
f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
40e920bd52 Create a proper exception class for invalid bounding box exceptions. 2009-05-26 23:47:45 +00:00
Shaun McDonald
b45dd63283 cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests. 2008-10-26 23:43:37 +00:00
Shaun McDonald
e13b35e0cb making it clearer when a test case fails, as to which test case it is that is failing. Adding some more bboxes for testing. 2008-10-21 14:28:52 +00:00
Tom Hughes
8516ad87b3 Add missing sanitise_boundaries method that the API controller was
trying to call.
2008-02-03 15:38:02 +00:00
Xin Zheng
a59b23a18d added module 2008-01-24 11:07:46 +00:00