similar to: How can I stop view caching?

Displaying 20 results from an estimated 10000 matches similar to: "How can I stop view caching?"

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 Apr 03
2
undefined method `scaffold'' for #<LocationsController:0xb7a9e858>
Would anybody know why I get this error from this bit of code: class LocationsController < ApplicationController def index scaffold :locations end end This is the way that is demonstrated in the screencast for creating a quick scaffold. I have done this before. However, I come back to working with Ruby after about a month on something else and now it gives this error. Any
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
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello, I''m a noobie to Rails and even more to mongrel. I have an issue with one server that I''ve installed mongrel. Its a Fedora Core 5 box, and it is having problems loading the Oracle OCI8 libraries. However, this only occurs when I use mongrel_cluster, or mongrel with out the - d switch. I have no problem using the library from the commandline and with Webrick or
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone, I?ve been working with Ruby on Rails for about 2 months now and have really enjoyed the ease of use of it. I?m only been doing development on it so I?ve been using WeBrick. Recently, I have built a server running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I changed the paths in the
2006 Jan 14
4
Rails URLs always try to open non-existent files
The lighttpd config file is set up like this... Rails url: //host/controller/method/id Lighttpd tries to open the file ''controller/method/id'' from the document root. Of course this doesn''t work and generates an error 404 This gets caught with: server.error-handler-404 = "/dispatch.fcgi" Which turns the request into "/dispatch.fcgi" That gets caught
2006 Sep 27
0
NET::LDAP Help Anyone? Maybe session Help? Bring my server to it's knees Help?
Does anybody know what the correct way to cache results from Net::LDAP bind_as? I''ve been struggling for about a day now and I know it''s something really easy. But when ever I do something like this - def self.login(username, password) begin ldap = Net::LDAP.new ldap.host = "192.168.1.16" ldap.port = 389 result = ldap.bind_as(
2005 Dec 15
5
site takes a while to load after first visit in a while
Using lighttpd + fcgi to power a site. When no one has accessed it in a while, the first visit to the page takes a while to load up. Then subsequent visits are fairly fast. Any ideas on how to fix it?
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team, I''m trying to figure out how to run 2 rails apps on one host. I ran an experiment: cd /tmp/ rails app1 rails app2 cd app1 script/server rails put a copy of lighttpd.conf in /tmp/app1/config/ and then started lighttpd http://localhost:3000 gave me the splash page. I shutdown the server I added something to /tmp/app1/config/lighttpd.conf server.modules = (
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to set up typo so that it also works (with a different url). I have 4 URLs running -- let''s call them foo.com, bar.com, www.typo.com and php.typo.com I am starting lighttpd by going into the directory where my foo.com app is and typing either ruby script/server or script/server -e production -- either
2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work, followed the instructions at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I go into my rails app and type "./script/server" I get the following errors: baggio:~/work/teore pergesu$ ./script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box running Rails 1.0.0 and Lighttpd 1.4.10 I followed the instructions in the wiki (http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the same error: linux:/etc/lighttpd # lighttpd -f lighttpd.conf 2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE 10.0 with SSL). (Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and the fcgi gem. I''m not positive all 3 were required, but that is what I did.) Now the devel instance of my app is broken. I''m not sure how to fix it. Previously I was using WEBrick for both devel and production.
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger. Here are the commands I''ve run: sudo port install fcgi sudo port install lighttpd Here''s a snippet from running "port installed" with several ports removed for brevity: fcgi @2.4.0_1 (active) lighttpd @1.4.9_0 (active) rb-rubygems @0.8.11_0 (active) readline @5.0.005_0+darwin_8
2006 Jan 06
3
fastcgi on apache
Running on Fedora Core I have been playing with some of the tutorials and one of them had me install lighttpd and lighttpd-fastcgi and that was much faster than apache seems to be. How do I get fastcgi stuff to work on apache... I have this setup for my tutorial environment in httpd.conf <VirtualHost *> DocumentRoot /home/craig/cookbook/public ServerName cookbook <Directory