Displaying 7 results from an estimated 7 matches for "memorystores".
Did you mean:
memorystore
2006 May 09
1
Session mgmt. bug - ActiveRecord & MemoryStore session store
Windows XP Pro
Rails 1.1.2
I need some help verifying this behavior that I''m seeing.
BUG: Objects in session which are descendants of ActiveRecord::Base lose
attributes on subsequent requests when using CGI::Session::MemoryStore.
TO REPRODUCE:
0) Set up MemoryStore as the session database manager in the appropriate
environment.rb file in config
1) Create a model object X that
2006 Jun 05
7
":database_manager =>CGI::Session::MemoryStore" doesn''t work properly...???
Hi,
We are try to use the "database_manager
=>CGI::Session::MemoryStore" for the session
management. our website has a lot of "redirect_to".
while the website is running under webrick, everything
is fine. But when we run the system under
aprache/fcgi. the redirect_to seems doesn''t work
anymore with the option "MemoryStore"
does anyone have the same
2006 Feb 27
0
MemoryStore
When using memoryStore for sessions I notice that ''new_session''=true and
consequently the session id is changing every POST. If I change the session
store to PStore the hash ''new_session''=false and the session data is
maintained across POSTs.
Any ideas on how I can use memoryStore (and set new_session=false) so I can
maintain session information across POSTs?
2006 Feb 26
0
Ajax, MemoryStore and sessions
Have you ever worked with Ajax, memoryStore and sessions in Rails?
I''m trying to pass a value through a session variable to various methods.
I''m calling the methods with Ajax on a submit button. I do this twice on a
page. The first time I pass a variable from the page to the controller and
store it in the session and write a log entry. This works fine. When the
second button
2006 Feb 28
0
Help needed: Sessions and memoryStore
Hi,
I could really use some help in understanding why, when using memoryStore,
the ''new_session'' value is always set to true for every request. This isn''t
the case when using Pstore.
With the ''new_session'' = true, the data I have set in the session gets lost.
Is there a way I can set the ''new_session'' = false so I can preserve the
2010 Apr 22
7
Making ActiveSupport::Cache consistent
Lighthouse ticket: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4452
I have recently been working on some gems that utilize
ActiveSupport::Cache and ran into some issues with the different
implementations handling the same functionality differently. One of
the issues was that I couldn''t rely on expiring entries with
the :expires_in option. MemCacheStore takes this
2008 Jun 24
1
cache issue with attr_accessor field
Hi,
I''ve got a model with the following attribute added:
attr_accessor :level
which does not exist in the database. After putting instances of this
model in the cache (using Rails.cache.fetch(''foo'') { Category.all } ),
when I retrieve it back from the cache, then trying to access .level
gives:
undefined method `level'' for #<Category:0x34d50a0>