[Catalyst] Database contents not displayed after hitting
pagerefresh
Matt S Trout
dbix-class at trout.me.uk
Wed Sep 3 16:05:31 BST 2008
On Wed, Sep 03, 2008 at 04:03:27PM +0530, SHARATH GOPINATH RAO, Chennai wrote:
>
> Matt: "So it works on the first request but not on the second?"
>
> Yes, it works on the first request and not on second. But, after
> changing it to this: $data = $c->model('Ttrack::Ttrack')->search();
> it's working fine, although any more suggestions are welcome.
You have an ancient version of something then that's caching the resultset.
Upgrade Catalyst::Model::DBIC::Schema and DBIx::Class.
->search() is just a copy constructor. Emanuelle doesn't know what the fuck
he's talking about.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list