similar to: Is there anyway to make Rails NOT cache?

Displaying 20 results from an estimated 9000 matches similar to: "Is there anyway to make Rails NOT cache?"

2006 Apr 04
2
How can I stop view caching?
Does anybody know how to stop the caching for views? I''m using Lighttpd with fcgi. Every time I make a change to the HTML in a view, I have to restart lighttpd before I can see the result of the change. I understand that the page is is compiled until it sees the modification date has changed. However, I am working on a Linux machine and editing the files on a Samba mount from my Mac
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,
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on Dreamhost? By this, I mean response times no greater than 3 seconds, and no large numbers of FCGI processes that you have to kill manually. If so, how? I''ve ended up running a constant ping script (once every ten minutes), and still have to kill some number of excess dispatch.fcgi processes every day. Along with
2006 Feb 08
4
ssl certificates
Hi, could someone help me with ssl certificates? i have mycert.pfx file (client certificate) and CA certificate ca.cer. i far as i know, ruby doesn''t understand pfx format, so i''ve converted it to pem format. in viewer pem looks like: Bag attributes blabla Key Attributes blabla ---begin rsa private key--- blabla ---end rsa private key----- --begin certificate-------- blabla
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 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 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 May 09
9
Active Record HELP!!!!!
Hello, Can someone kindly tell what the heck creating a relationship does in active record? I understand the idea of joining the tables and such. But how do I use it? Is it available in a scaffold? How about when I want to view a record and want to see all the joined data from the other table? Do I have to manually code the data I want from the other table? Does this automatically make the
2005 Nov 29
2
one rails application, many schemas
hello all! i am about to deploy an app that needs to connect to different schemas... uhm. let me explain. the app is located on a server (of course), and on the same server is a database with many schemas called new_york, cicago, barcelona, hongkong, singapore and so on. people from this citys need to use the app, and the app should connect to the correct schema depending from where they
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 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 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 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 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
2006 Mar 04
16
Unacceptibly slow.
I currently have a fairly simple Rails application running on FreeBSD under Apache 1.3 and normal CGI, and the performance I''m getting is alarmingly poor. I realize CGI or WebBrick are quite a bit slower than FastCGI, and I''ll probably use one of those instead when I have the time. However, I''m just curious if CGI is really supposed to be that slow, or if
2006 May 10
12
Strange Behavior on Non-Index Pages
If I browse to \myRoRApp, I get the "Welcome aboard" screen. I''ve done the ruby scripts/generate controller MyTest, and "Rolling with Ruby on Rails" tells me I should be able to browse to \myRoRApp\MyTest and see an error page, but what I''m actually seeing is a fastcgi config file! I have installed fastcgi, but apache can''t "see" the
2006 Apr 14
10
DHH Says...F You
WTF was this about? http://www.flickr.com/photos/planetargon/127984254/ Joe -- Posted via http://www.ruby-forum.com/.
2006 Apr 12
5
SPAM on rails-list
This is a high traffic list as it is and it is really annoying to see that SPAM is on the rise here. I wonder how they can spam the list since each user has to be authenticated. Do spammers go through the trouble of subscribing to the list? In any case, this msg is to the list admin...could you please do whatever it takes to filter this stuff out? Thank you very much. -bakki
2006 Jun 08
2
Page caching for urls with dots
hi everyone, I have a pesky problem with page caching, sorry if it sounds dummy. Whenever I''m caching an url like /controller/argument.with.dots instead of getting a saved page like /public/controller/arguments.with.dots.html I get /public/controller/arguments.with.dots which makes the webserver confused as to how to send it (it gets a Content-Type of text/plain instead of