search for: memory_store

Displaying 6 results from an estimated 6 matches for "memory_store".

2008 Jun 23
1
updating to 2.1.0 using InstantRails2.0 - cache problem
...to update to rails 2.1 using instant rails, so i can use the new cache features, but when i try to use the method "Rails.cache.write" in a controller, i get the error "undefined method `cache'' for Rails:Module (NoMethodError)" and if i try to force the cache store to memory_store using "ActionController::Base.cache_store = :memory_store" in a conf file, i get: "undefined method `cache_store='' for ActionController::Base:Class (NoMethodError)" the version message for ("rails -v") is "Rails 2.1.0", so i assume that the versio...
2010 Jun 02
10
Session, memory_store & NoMethodError
...ct it! You might have expected an instance of Array. The error occurred while evaluating nil.include?):[/i][/color] The session contains an Array of objects "XmlFile" and I''ve configured my environement.rb to use the memory store : [i][b]config.action_controller.session_store = :memory_store[/b][/i] This is my [b]injection_controller.rb[/b] session key/value affectation code : [code]def analysis_repository ..... session[:list_xml] = create_XML_file_obj(false)#put an array of XmlFile objects in the session render :update do |page| page[:liste_fichiers_xml].re...
2008 Jun 23
2
From Instant Rails 2.0 to Rails 2.1.0 - cache problem
...so i can use the new cache features, but when i try to use the method "Rails.cache.write" in my controller, i get the message "undefined method `cache'' for Rails:Module (NoMethodError)" and if i try to set the cache store ("ActionController::Base.cache_store = :memory_store") in a conf file, i get: "undefined method `cache_store='' for ActionController::Base:Class (NoMethodError)" the version message for ("rails -v") is "Rails 2.1.0", so i assume that the version is ok. does anyone know what could be the problem? thanks. --...
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi, I am trying to do fragment caching using :mem_cache_store. However, when I compare it to fragment caching using :file_store, it seems to be a lot slower. Here are the results: uncache Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB: 0.00017(0%) | 200 OK [ http://127.0.0.1/] using file_store Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB: 0.00000(0%)
2007 Dec 14
18
Mongrel error : EMFILE too many open files
I have a periodically_call_remote call in a partial running at 0.20 times a second. <%= periodically_call_remote(:update => ''ack_distance_output'', :frequency => 0.2, :url=>{:action => :ackAdjustDistance}) %> the action looks like this def ackAdjustDistance @calMessage = Calibration.getMessage
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi, I have installed Instant Rails 2.0 on my machine which comes with Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do gem update rails and It seems to be fine. But when I check the version of my Rails I get the following message: >rails -v C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error'': RubyGem version error: activesupport(2.0.2 not