One problem I see with the exact code posted here is a typo referring to singular-vs-plural on the hash key:
On Sun, Jan 13, 2013 at 10:35 PM, Jesse Sheidlower <jes...@panix.com> wrote: > > unless ( $c->stash->{subjects} = $cache->get( 'subjects' ) ) { > $c->stash->{subjects} = > $c->model('WordsDB::Subject')->search(); > $cache->set( 'subject', $c->stash->{subjects} ); > } > > Note 'subject' vs 'subjects': $cache->set( 'subject', $c->stash->{subjects} ); -- Will Trillich :: 812.454.6431 “Grading takes away all the fun from failing. And a huge part of education is about failure.” -- Shimon Schocken
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk