Saravanan,

I am on rails 3. I don't know if it is because of that, but I had to
un-comment the line in 'config/initializers/session_store.rb' instead
of 'config/environment.rb'. And the line you send me is deprecated (my
server told me), so I used this instead:
Savon::Application.config.session_store :active_record_store

Thank you so much it worked like a charm!

Sebastian

On May 20, 8:38 am, Saravanan Krishnan <li...@ruby-forum.com> wrote:
> Sebastian,
>
> In order to use session store you have to do the following things,
>
> To create a migration file:
> rake db:sessions:create
>
> To create session table:
> * For development mode:  rake db:migrate
> * For production mode:   rake db:migrate RAILS_ENV=production
>
> Then un-comment the following line in config/environment.rb
> config.action_controller.session_store = :active_record_store
>
> restart the app.. thats it..
>
> Saravanan Khttp://bit.ly/9NpP7e
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to