search for: file_store

Displaying 12 results from an estimated 12 matches for "file_store".

Did you mean: file_stores
2009 Jun 11
1
fragment caching file_store problems
...all of the directories apart from the last one are created. Adding path components to generate a key makes no difference. I have no idea how to debug this, and have googled to no avail. I don''t have any caching plugins installed. environment.rb: config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/ cache" and I have perform_caching set to true in both dev and production and I set my cache directory to 777, all to no avail. About your application''s environment Ruby version 1.8.7 (i686-darwin9.3.0) RubyGems version 1.3.3 Rails version...
2006 Mar 29
2
Fragment Cache Wackiness
I can''t seem to get the fragment cache to use :file_store. I''d really appreciate it if someone could point me in the right direction. Rails 1.1 final, FreeBSD Observe: In environment.rb AND production.rb (for good measure, DRY be damned): ActionController::Base.fragment_cache_store = :file_store, "/www/apps/localfeeds/directory/tmp/fra...
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%) | 200 OK [ http://127.0.0.1/]...
2008 May 01
0
users home folders, with windbind AD auth.
...have authentication up and running great. And I have all my shares setup and working except for the users home folders. Does this look like a local permission issue? Any help is much appreciated, and thank you in advance for taking the time to read. The home directories are their usernames in /d2/file_store/ce-files/users/ [2008/05/01 12:09:43, 3] smbd/password.c:register_vuid(332) Adding homes service for user 'WINIX+kcorupe' using home directory: '/home/WINIX/kcorupe' [2008/05/01 12:09:43, 3] param/loadparm.c:lp_add_home(2663) adding home's share [kcorupe] for user 'WIN...
2008 Jun 11
2
Mounting Samba Share using linux login
Windows users are able to mount samba share using windows. But for linux user, we need to create credentials file, to mount samba share e.g: //servername/file_store /home/user/Desktop/file_storage smbfs credentials=/root/.smbcredentials Is it possbile to change the credentials to something like windows users (for example credentials=unix user) so as the mounted share would depend on who login the linux box? This is important as I want to let user change thei...
2011 Jul 01
0
config.cache_store file path ignored?
Hi- I have enabled caching in my application and am using the :file_store option, as shown below (enabled in each environment). config.cache_store = :file_store, "#{Rails.root}/public/cache" Why is it that the file path I set is ignored? Everything seems to get dumped out to /public, by default. Thanks! -- You received this message because you are subscri...
2006 Jun 30
1
Apache Cache
Hi, I have a strange problem. I have implemented fragment caching. I am pulling my delicious links to my site. I print out to the log every time it connects to delicious. >From the logs I see that it is not using the cached fragment. It connects on every page load. This is running under Apache2 (ubuntu). I am using the default .htacess file that came with RoR. However when I run it
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...i run rails serve i am fa C:\forex>rails server => Booting WEBrick => Rails 3.0.0 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb:17:in `initialize'': wrong number of arguments (0 for 1) (ArgumentError) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb:69:in `new'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb:...
2011 Nov 05
3
How to get Rails 3.1's Cache store (FileStore) to work with Rack::Sendfile
...les using X-Sendfile through Rack::Sendfile. After poking around Rack::Cache, I found out that none of the Rack::Cache Entitystores are used -- what''s being used is Rails'' own storage solution<https://github.com/rails/rails/blob/3-1-stable/activesupport/lib/active_support/cache/file_store.rb> . Is there a reason that FileStore doesn''t support Rack::Sendfile at the moment (why it uses Marshal)? What would be the easiest way to get to what I need? Can I just tell Rails to use Rack::Cache''s Disk entitystore? If not, what do you guys think of letting the *body* of...
2018 Sep 10
15
[7.0.0 Release] rc3 has been tagged
Dear testers, 7.0.0-rc3 was just tagged (from branch revision r341805). No further release candidates are currently planned, so this is a release candidate in the real sense: unless any serious issues surface, this is what the final release will look like. Please run the test script, share your results and upload binaries. Please also take a look at the release notes and other docs; small
2006 Feb 10
0
Upgraded from 3.0.9 -> 3.0.21b - Now adding machines aproblem
Yes, I had a similar problem when I upgraded from 3.0.9 -> 3.0.21b. After upgrading I could not add machines. It would find the PDC and then prompt me for a user/password, I would enter it and I got user not found error message. If I typed the password incorrect then I would get Username/Password incorrect error message. My logs showed that I was authenticating OK. So only thing I could think
2006 Jan 13
6
rails bug ? metadata lost between page invocation ?
Ok, so I posted this on the ''ruby on rails'' newsgroup (http://groups.google.com/group/rubyonrails/browse_frm/thread/cfce770d3fbfbd1f/a51aad47e46e2adf#a51aad47e46e2adf) but didn''t get very far. Hopefully this community will be able to help or let me know whether this is a genuine rails bug. This is a lengthy post, but please bear with me. So, I am trying to cache