Eden Cardim wrote on 07/17/2009 06:51 AM:
On Thu, Jul 16, 2009 at 11:36 PM, Peter Karman<pe...@peknet.com> wrote:
There really is no method called 'storage' in DBIx::Class::ResultSet, so at
least the error message is telling the truth.

- $self->app_class->model( $self->model_name )->storage->sqlt_type
+$self->app_class->model( $self->model_name )->result_source->storage->sqlt_type


that would be true if $self->model_name returned the moniker name of a particular ResultSet. But it shouldn't. It should return the (MyApp-prefix-remove) name of the Catalyst::Model::DBIC::Schema class.

--
Peter Karman  .  http://peknet.com/  .  pe...@peknet.com
gpg key: 37D2 DAA6 3A13 D415 4295  3A69 448F E556 374A 34D9

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to