Is this configuration approach due to be changing?
Still getting conflicting deprec notices on the cookie secret and I'm
not sure on how we should define session domains now:
config.action_dispatch.session = { :key / :domain / :secret } in
application.rb? Initializers? Both? :)
Kee
On Apr 5, 6:43 pm, "[email protected]"
<[email protected]> wrote:
> Yes, today's change fixed it.
>
> On Apr 5, 3:42 pm, Rizwan Reza <[email protected]> wrote:
>
>
>
> > I just pulled the latest commits from Rails master and it seems this is
> > fixed now. You now need to define the relevant configuration like this:
>
> > Rails.application.config.session_store :cookie_store, :key =>
> > '_appname_session'
> > Rails.application.config.secret_token = 'secret'
>
> > Omit 'Rails.application.' if you're defining in application.rb.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.