[Catalyst] Question on upgraded module not working the way it used to (DBIx::Class::Schema::Loader)

Rafael Kitover rkitover at cpan.org
Thu Jun 10 23:34:44 GMT 2010

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.)

More information about the Catalyst mailing list