Displaying 7 results from an estimated 7 matches for "memorystor".
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 descends from ActiveRecord::Base
2) Add an attr_accessor for an attribute test_attr to model object X
3) Create one action in your controller tha...
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 any...
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 (a...
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 writ...
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...
2010 Apr 22
7
Making ActiveSupport::Cache consistent
...rt::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 option on a write,
while FileStore takes it on a read, and MemoryStore ignores it all
together so that the cache will just grow until you run out of memory.
I ended up doing a pretty large refactoring of ActiveSupport::Cache to
provide universal support for some options, fix some bugs, and update
the documentation. The patch is attached to this ticket.
Here are the...
2008 Jun 24
1
cache issue with attr_accessor field
...e. 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>
I''m simply using the memorystore. In script/console it works fine,
just not when in script/server. Anybody knows what''s happening here?
Best regards,
Jimmy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro...