Commit graph

12 commits

Author SHA1 Message Date
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
bd402599f5 Update to rails 4.1.1 2014-07-04 19:24:25 +01:00
Tom Hughes
537cd6a52c Fix typo in session store configuration 2013-09-23 09:58:31 +01:00
Tom Hughes
255b0b9425 Drop memcached and use dalli as the memcache client 2013-09-22 15:57:22 +01:00
Tom Hughes
5cae983622 Removed temporary code for promoting databases sessions to memcached 2012-03-28 10:04:56 +01:00
Tom Hughes
4d7c3db62c Use cache store for sessions when memcached is not available
Using cookie store is problematic because there is a limit to the
amount of session data you can store, and we sometimes overflow.
2012-03-06 10:42:37 +00:00
Tom Hughes
57ba7d6f0b Switch to using memcache as the session store
As a temporary measure any session which is not found in memcache
will be looked for in the database instead.
2012-02-27 09:01:48 +00:00
Tom Hughes
93fded9641 Drop the sql_session_store plugin
The sql_session_store plugin doesn't work with rails 3 and doesn't
seem to be supported anymore, so drop it in favour of the builtin
database backed session storage.
2011-11-14 09:42:55 +00:00
Tom Hughes
6d59a122ea Update to rails 3.0.5, arel 2.0.9 and composite_primary_keys 3.1.4 2011-11-14 09:42:48 +00:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
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
8b9cacd3c2 Bring configuration files ino sync with current rails default ones 2010-08-04 19:47:10 +01:00