similar to: rails bug ? metadata lost between page invocation ?

Displaying 20 results from an estimated 110 matches similar to: "rails bug ? metadata lost between page invocation ?"

2007 Jul 19
1
yum through a squid proxy
Hello, I've got a centos5 box that is now behind a what was transparent squid proxy. The proxy now has it's own dedicated ip and uses proxy basic authentication. I've got a firewall that redirects all outgoing port 80 traffic to that ip so anyone wishing access goes proxied. The problem is yum on my centos5 can't retrieve the .xml files for the various yum repositories. In
2014 Sep 18
2
[LLVMdev] How to cache MCJIT compiled object into memory?
Hi, All I m not sure if this question has been asked or not. I'd like cache the MCJIT compiled object into memory buffer so it can be reused later. I followed the Andy Kaylor's example wrote an inherited class from ObjectCache and use raw_fd_ostream to save the cache and load the cache from a file. I checked raw_ostream and its subclass, maybe I am wrong but I don't see one is fit to
2007 Nov 10
2
Array of files and other questions...
Hi I''m quite new to the art of writing puppet manifest, but the more I see, the more I like it :-) I''m trying to write a djbdns dnscache module. dnscache configuration is spread in several files, for instance the ip addresses allowed to query the cache each have a file in dnscache/root/ip/ whose filename is the address. I''m trying to automate the creations of those
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/fragmentcache/" At the console
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
2007 Sep 07
2
memcached and fragment storage, session storage with a mongrel cluster
Greetings, I posted this not on the Rails mailing list and didn''t get a definitive response so I thought I''d post it here, since I figure lots of you are using mongrel with Rails apps. Any suggestions would be greatly appreciated. I''ve been using file-based fragment caching and DB-based session caching quite extensively. I decided to try out memcached for both to
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all - I am trying to get rails to use memcache for sessions and fragment caching. I''d also like to use the same connection for general caching of this and that. I''m following the instructions here: http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore and hitting a brick wall. I''m using the new memcache-client since from what I''ve read
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
2006 Mar 28
6
blank page output
Hello, I''m new to Ruby and RubyOnRails. I''m running Fedora 4 which comes with Ruby 1.84-1. I installed rubyonrails, and I''m doing the a sample program found on http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2 I ran ruby script/generate controller MyTest. I edited the file my_test_controller.rb. Here''s the code I entered class MyTestController
2005 Jun 23
6
Problems with Hello World
Hello, I''m installed RubyOnRails in my Fedora Core 4 system. I''ve created an empty web application with: rails cookbook then a controller ruby script/generate controller MyTest And a file named my_test_controller.rb was created at cookbook/app/controller directory. I ''ve written a new method for MyTestController class like: def index render_text "Hello
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
So, when performing expression evaluation, lldb trips over an assert in clang/lib/AST/RecordLayoutBuilder because ExternalFieldOffsets doesn't contain a FieldDecl that updateExternalFieldOffset expected. I found that the assert occurs when both static and non-static member variables are present. For instance, with the following, the lldb command 'expr my_test.length()' does not
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
FYI, this turned out to be an error of omission in LLDB in SymbolFileDWARF, because the case of a non-defining external (i.e. a static member variable) wasn't being handled with a variable lookup to dig up the location. I'll put a patch together for lldb-commits, - Ashok From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Thirumurthi, Ashok
2007 Apr 24
1
Re: Re: Symlinks deletion behaviour
Hi Jeremy, Thanks for your response, but it doesn't work either with exactly the same symptoms: [2007/04/24 09:52:43, 3] smbd/process.c:switch_message(926) switch message SMBrmdir (pid 19730) conn 0x80414a30 [2007/04/24 09:52:43, 4] smbd/uid.c:change_to_user(181) change_to_user: Skipping user change - already user [2007/04/24 09:52:43, 5] smbd/filename.c:unix_convert(147) unix_convert
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like: $pid = pcntl_fork(); if ($pid != 0) { // we are the parent // do parent stuff exit; } // we are the child, detatch from terminal $sid = posix_setsid(); if ($sid < 0) { die; } // do child stuff On 04/19/2019 02:00 PM, Mark Wiater wrote: > On 4/19/2019 1:49 PM, Dovid Bender wrote: >> Mark, >> >> I am using PHP agi and when forking
2005 Dec 02
0
WEBrick access from other computer
Here''s a strange one. I''m getting into Rails and have installed Ruby and RoR onto a Linux box for testing (Ubuntu). It all seems to work while I''m on the linux machine. Using WEBrick I can go to the page and see my test page. But I want not have to sit at the linux box to play around, so I tried accessing the WEBrick server from another system on my network and it
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op. $ yes | sudo gem install cached_model Or, you can download cached_model and memcache-client (our zippy-fast memcache library, required) from: http://rubyforge.org/frs/?group_id=1266 I don''t have the README posted for making cached_model work online yet, so here it is: = CachedModel Rubyforge Project: http://rubyforge.org/projects/rctools/ == About
2003 Mar 31
0
W2K batch scripting error
Greetings all, I am supporting Samba 2.2.8 on a Solaris 8 platform, and a user is having problems with the rmdir (or rd) command in his W2K batch scripts. The problem relates to the length of subdirectory names when using the /s flag to remove the entire directory tree. It seems that if a subdirectory name is over 12 characters in length, the rmdir command truncates to 12 characters, and then is
2006 Jul 10
2
''uninitialized constant'' error
Hi All, I am fairly new to Ruby and backgroundRB. I am trying to run a simple example in Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app. In ''MyTest'' Controller ------------------- def longrun session[:job_key] = MiddleMan.new_worker(:class =>
2006 Mar 31
3
Rails with GoDaddy problem
Hopefully someone can help me with this. I''m trying to learn Ruby on Rails and have GoDaddy as a web host. I''ve followed their help files and taken the following steps. I''ve made sure my plan supports Rails. I used their interface to create the directory (test2). I then used an FTP client to upload my project files to the directory I made. Also to clarify, this is
2006 Oct 16
1
Question regarding ''tidy'' type
Hello all, I am trying to use the tidy type to clean up a directory that I use for running scripts via puppet. My relevant manifest looks like: tidy { "/root/.puppet/" : age => ''30D'', path => ''/root/.puppet/'', recurse => true, rmdirs => true, type => atime, } However, when I run puppet it