Re: [Radiant] Why doesn't site pick up changes to the database?

2010-03-17 Thread banane
I haven't done this before, but you may want to update the
"updated_at" column and see if the site replaces the content. I
noticed doing some work that the cache is updated when the model
object is saved. You've bypassed this, so that may be why the cache
isn't replacing the old pages. Another thing to check is the browser
you're using- switch browsers. Check your log as you're looking at
pages via a browser to see if the cache is being used, that's the
final test, really.  You can also set caching off in your
environment.rb file (temporarily) to reflect changes then trn it on
again. Really, all of this is because the model-save was bypassed.
(from my understanding of Radiant & rails caching).
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


[Radiant] Why doesn't site pick up changes to the database?

2010-03-17 Thread Leon Miller-Out
Hello, all. I was attempting to find-and-replace some content in my site's
database yesterday, using a sqlite client. I had stopped the apache that was
running my Radiant site. I made the changes in page_parts, but when I
started Radiant back up, it was still showing me the old content, both in
the admin area and on the public side.

I tried blowing away tmp/cache, and setting config.cache_classes to false,
to no avail. What do I need to do to get Radiant to pick up the
direct-to-database changes?

Some suspected culprits here are Rack and the Chronicle extension. When I
tried to update the yaml in Chronicle's versions table, I broke the whole
site.

Thanks!

Leon

=
PLEASE NOTE OUR NEW ADDRESS BELOW
=
Leon Miller-Out
President & CTO, Singlebrook Technology, Inc
l...@singlebrook.com
p 607-330-1493
f 607-697-0457
119 S. Cayuga St. - Suite 202
Ithaca, NY 14850
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org