Thursday, May 19, 2011

[Rails] Re: Cookie Overflow at CSV import

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 K
http://bit.ly/9NpP7e

--
Posted via http://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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate