similar to: Page caching for urls with dots

Displaying 20 results from an estimated 700 matches similar to: "Page caching for urls with dots"

2010 Oct 04
2
Issue with match.call
Hi, I have a function that I'm writing. The arguments in the function are as follows RFF<-function(qtype, qOpt,...){} i.e., I have two args that are compulsary and the rest are optional. Now when my user passes the function call, I need to see what optional args are defined and process accordingly...what I have so far is.. RFF<-function(qtype, qOpt,...){ mc <-
2003 Apr 09
1
Lingering IPC$ connections
I'm running the latest samba release (2.2.8a), and everything seems to be running fine. Except for something that does not look quite right. Connections to the IPC$ share are being left behind by samba once the user has logged off. And what's even more troubling is that the pid associated with the lingering IPC$ connection is picked up by the next smbd process, and then you have one pid
2006 Feb 07
1
Page caching when name contains a dot (period)
Hi Everyone, Just thought I''d post some details of an interesting little quirk I''ve found with page caching. For a site I''ve just built for a small music festival, there are a number of artist profiles. I''m storing the artists in my database, but using caches_page to speed things up when displaying the details to the public. I''ve also made it so
2006 Feb 20
8
Downloading Files
I''m building a rails app that will create .xml documents for the users of a particular intranet. My question is two fold 1. The files are in /public/files/something.xml, etc... How can I create a link_to in rails to access these files? 2. How I can I force the file to be downloaded (bring up a save dialog) as opposed to displaying in the browser? Thanks for hte help. -- Posted
2006 Feb 03
5
writing my own generator
Hi all, I wanted to write my own generator. What would be a good starting point. Is there any documentation on this, Best practices, etc? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060203/c64c4730/attachment.html
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the browser and the server. I have to restart Lighttpd after every view change to see the results. Thanks, phill
2006 Feb 19
2
Asynchronous Encryption?
Hi Railers, I''m looking for something to do asynchronous encryption - where the encryption and decryption keys are different. This is for a scenario where I want to be able to store some information in the database that can only be decrypted in a different physical location using a secret private key (which will not be stored on the machine doing the encrypting). I''m trying
2006 Mar 14
4
validates_confirmation_of has stopped working
Hi Railers, I''m past considering myself a noob in Rails land - I think what I''m up against here is more of a bug or an anomaly that I''m unaware of (or that has changed in a recent version). I had a fully working validates_confirmation_of :email_address field in my app - was one of the first things I set up, extremely simple, been working for a long time. Then one
2006 Feb 11
4
Starting Ruby On Rails
Hi, i m a web developer(php,ajax). i want to start with ruby on rails. can one suggest me online tutorials for ruby on rails? How would i start with ruby on rails,i knew something about ruby? editor for ruby on rails? Plase..... Thank You. -- Posted via http://www.ruby-forum.com/.
2006 Mar 30
9
script/console not working after Rails 1.1 upgrade
Whenever I do script/console I get an error message: Loading development enviroment. c:/ruby/lib/ruby/1.8/irb/init.rb:151: in ''parse_opts'' : undefined method ''upcase'' for nil:NilClass (NoMethodError) from c:/ruby/lib/ruby/1.8/irb/init.rb: in ''setup'' from c:/ruby/lib/ruby/1.8/irb/init.rb:54: in ''start'' from c:/ruby/bin/irb:13
2006 Mar 13
6
noob question!! auto fill forms
I''ve been using rails for about 3 months and have a pretty cool app going, but i need to auto-fill some form data. is this possible? i would think so. well anybody to lend me a helping hand, much appreciated. -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
1
"uninitialized constant Reloadable" error heads-up
I can''t duplicate this problem on my local machine, but also can''t find any mentions of it on the Gmane archive, so thought I''d just throw in a quick mention in case anyone else comes across it. On Textdrive, using gem rails 1.1, in an app that works fine on my local machine, I get the following error in my production.log: "uninitialized constant
2006 Jan 03
3
Global functions and variables.
Hey People, I''m fairly new to Rails and have perhaps an obvious question. I would like to know if there is a place that I can declare variables and methods that are globally available to all controllers. My main reason for this is I like to auto generate select boxes based off of the contents of a hash and would like to be able to do this in all views in all controllers, so that I do not
2006 Apr 16
4
wsod since upgrading to 1.1
I just upgraded to 1.1 and I am now getting the wsod for errors that used to display on the screen. E.G. NoMethodError gives wsod. Does any one know what caused this and how I can go back to the previous behavior? -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
6
rake freeze_gems errors
I''m having problems trying to freeze local rails gem to my app with: rake freeze_gems On OSX 10.4.6 i get the following error: Illformed requirement [=#<Gem::Specification name=rails version=1.1.0>] This is the full output: Freezing to the gems for Rails 1.1.0 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails Unpacked gem: ''activesupport-1.3.0'' mv
2005 Aug 10
5
validates_format_of on an optional field using :if
Hi there, I''ve got the following in my model: validates_format_of :postcode, :with => /^([a-zA-Z]{1,2}[0-9]{1,2} [0-9]{1}[a-zA-Z]{2})$/, :message => "is not valid", :if => :postcode ... but it''s not working - it always insists on validation, even if postcode is empty. Basically, the postcode field is optional, but if it''s filled in, I want to
2005 Dec 27
8
XML Not Working in Explorer 6
I''m playing with XML using Builder but seem to be having some trouble in Explorer 6. My sample code: xml = Builder::XmlMarkup.new xml.instruct! xml.instruct! ''xml-stylesheet'', :href=>''/stylesheets/style-xml.css'', :type=>''text/css'' xml.declare! ''DOCTYPE'', :html, :PUBLIC, "-//W3C//DTD XHTML 1.0
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers, For some time now I''ve been looking for a decent Rails equivalent of PHP''s "htmlentities" command, because ERB''s html_escape (or more commonly called as just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me. Back in PHP land, I actually had an extended version of the htmlentities command to deal with
2012 Aug 13
1
Ruby Facter.add syntax please help
Hi, Please could someone take a look at the below code and tell me where it is failing ? Facter.add(''syslocation'') do #confine :kernel => "Linux" setcode do name = Facter.value(''hostname'') case name when /^e(t|d|u|s|p|q)(p|v)(sol|lin)\d+/ "E DC" when
2006 Apr 04
2
"script/server -e production" doesn''t work
I''ve got an error that''s only happening on my live webserver, so wanted to test on my local machine in the production environment. On my local machine, I tried to run... script/server -e production ... but get: server: invalid option: -e Has this been disabled or renamed in 1.1? I''m running gem Rails 1.1, Ruby 1.8.4, and the server is Lighttpd 1.3.16. Thanks,