[PATCH conductor] BZ 785094 - fixed cookie overflow and session store

Tomas Sedovic tsedovic at redhat.com
Thu Feb 9 10:12:02 UTC 2012


On 02/09/2012 11:02 AM, jprovazn at redhat.com wrote:
> From: Jan Provaznik<jprovazn at redhat.com>
>
> Because of wrong syntax in session_store initializer we used
> CookieStore instead of ActiveRecordStore.
>
> 'session_store=' has been replaced with 'session_store' method in
> Rails 3.
> ---
>   src/config/initializers/session_store.rb |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/config/initializers/session_store.rb b/src/config/initializers/session_store.rb
> index 7838811..8ff62fa 100644
> --- a/src/config/initializers/session_store.rb
> +++ b/src/config/initializers/session_store.rb
> @@ -28,4 +28,4 @@ Conductor::Application.config.session = {
>   # Use the database for sessions instead of the cookie-based default,
>   # which shouldn't be used to store highly confidential information
>   # (create the session table with "rake db:sessions:create")
> -Conductor::Application.config.session_store = :active_record_store
> +Conductor::Application.config.session_store :active_record_store

ACK



More information about the aeolus-devel mailing list