From maze at strahlungsfrei.de Tue Aug 8 09:44:24 2006 From: maze at strahlungsfrei.de (Martin Honermeyer) Date: Tue, 8 Aug 2006 15:44:24 +0200 Subject: [Comatose] render :comatose - cache doesn't expire Message-ID: <200608081544.25025.maze@strahlungsfrei.de> Hello, I've got a problem with render :comatose. When changing a page's content, render :comatose does still show the old content (production env). Clearing the page cache in the Comatose admin doesn't help either! How can I expire those (fragment?) caches used by render :comatose? Greetings, Martin From marcello.nuccio at gmail.com Tue Aug 8 10:02:04 2006 From: marcello.nuccio at gmail.com (Marcello Nuccio) Date: Tue, 8 Aug 2006 16:02:04 +0200 Subject: [Comatose] render :comatose - cache doesn't expire In-Reply-To: <200608081544.25025.maze@strahlungsfrei.de> References: <200608081544.25025.maze@strahlungsfrei.de> Message-ID: <6df34dd0608080702s74526773xa423d2f693bfd79f@mail.gmail.com> I have Comatose::Options.disable_caching = true in config/environment.rb to solve this problem. In my experience, comatose cache is not usable if you have dynamic content in your pages. On 08/08/06, Martin Honermeyer wrote: > Hello, > > I've got a problem with render :comatose. When changing a page's content, > render :comatose does still show the old content (production env). Clearing > the page cache in the Comatose admin doesn't help either! > > How can I expire those (fragment?) caches used by render :comatose? > > > > Greetings, > Martin > _______________________________________________ > Comatose-Users mailing list > Comatose-Users at rubyforge.org > http://rubyforge.org/mailman/listinfo/comatose-users > From knewter at gmail.com Mon Aug 14 14:42:52 2006 From: knewter at gmail.com (Josh Adams) Date: Mon, 14 Aug 2006 13:42:52 -0500 Subject: [Comatose] Problems getting http://localhost:3000/comatose_admin to come up Message-ID: <38da3d9d0608141142i4cd56b2t1a29e91464631647@mail.gmail.com> I've followed the basic instructions in the Getting Started guide, and in the README. I've done this on an existing app as well as a fresh app. I'm running edge rails. Anyway, when I visit http://localhost:3000 I get the Comatose Home Page that it added by default, but when I visit http://localhost:3000/comatose_admin, it sends me to http://localhost:3000/404. Any help? -- -josh www.purevolume.com/valign -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/comatose-users/attachments/20060814/58c57e04/attachment.html From knewter at gmail.com Mon Aug 14 17:41:44 2006 From: knewter at gmail.com (Josh Adams) Date: Mon, 14 Aug 2006 16:41:44 -0500 Subject: [Comatose] Fix for my comatose_admin problems Message-ID: <38da3d9d0608141441x59a54602o5dd215cb097e2d1a@mail.gmail.com> I did have to manually add the route to the admin_controller, which wasn't particularly clear (not sure if this is expected functionality or not), so I also added this line (for now, just testing): map.connect 'comatose_admin/:action/:id', :controller => 'comatose_admin' Now the app works like I expected it to...cool -- -josh www.purevolume.com/valign -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/comatose-users/attachments/20060814/c3e8d0a9/attachment.html