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/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/