After switching to active_record_store to host sessions, I now get the
following errors:
ActionController::InvalidAuthenticityToken in Pages#edit
Showing app/views/pages/edit.html.erb where line #5 raised:
No :secret given to the #protect_from_forgery call. Set that or use a
session store capable of generating its own keys (Cookie Session
Store).
Extracted source (around line #5):
2:
3: <%= error_messages_for :page %>
4:
5: <% form_for(@page) do |f| %>
6:
7: Name
8: <%= f.text_field :name %>
RAILS_ROOT: C:/www/rails_apps/myapp
Application Trace | Framework Trace | Full Trace
c:/www/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3.7707/lib/
action_controller/request_forgery_protection.rb:101:in
form_authenticity_token' (eval):2:in
send’
(eval):2:in form_authenticity_token' app/views/pages/edit.html.erb:5:in
_run_erb_47app47views47pages47edit46html46erb’
Do I need to do something else besides create the database table and
uncomment the line in config/environment.rb?