Sarah Berry wrote:
> Matt,
> 
> Thanks for the suggestions. But
> 
> my $schema = $c->model("SLogDB")->schema;
> 
> gives me
> 
> Caught exception in vieSEB::Controller::dbixdemo->default "Can't
> locate object method "schema" via package "vieSEB::Model::SensorLogDB"

SLogDB vs. SensorLogDB => confused. what's going on?

> As far as the classes, "tblsmaps" is the name of a table in the
> database that contains information on the location of sensors. I'm
> trying to search this table, which was set up by the schema loader if
> I did that part right (which is far from certain).

Have a look at what models Catalyst tells you you've got on startup ...

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to