On 28 October 2013 21:46, Ralph Vince wrote:
Colin, I made the changes you said to make here (I did, well before, do rake
db:sessions:create and have the table resident in the db). I;ve lso tried
using :session_key in instead of :key.....noe of which seems to be affecting

ruby script/server
`ensure_session_key': A key is required to write a cookie containing the
session data. Use config.action_controller.session = { :key =>
"_myapp_session", :secret => "some secret phrase" } in config/environment.rb
It is very odd, firstly it should not be using the cookie store, and
if it were then you have provided the session key. I have tried it
and it works for me with either :key or :session_key, and if I enable
the active_record_store then it does not ask in the first place.

Can you post development.rb please.


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvZjFMekMG4rUgbJ7d4XetrAfDcNodHcEeSD7LprdsC9A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 9 of 23 | next ›
Discussion Overview
grouprubyonrails-talk @
postedOct 28, '13 at 7:45p
activeOct 29, '13 at 2:43a



site design / logo © 2021 Grokbase