On Wed, Jun 09, 2010 at 12:08:33PM -0400, Ken Beal wrote:
> Then, on the page (a TT page), I had a FOREACH loop "[% FOREACH build IN
> builds -%]", and inside it, printed out various values for each of the
> builds (server, version, source path, etc); one of these was a foreign
> key to an "environment" table, which has columns for "name" and
> "buildstring"; that line used to look like:
> 
>  
> 
>     <td>[% build.environment_id.name %] ([%
> build.environment_id.buildstring %])</td>

Now it would be:

[% build.environment.name %]

Look at your Result classes for the relationship names.

If you want the old names, pass the naming=v4 option (after
create=static on the helper command line.)

_______________________________________________
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/

Reply via email to