Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-15 Thread Mark Blythe
While I don't use the DBIx::Class::Loader, I did notice that since the Catalyst::Plugin::Auth refactor, that set of modules doesn't like dealing with role_id's any longer. I ended up creating a database view (and corresponding DBIC class) that spits out role names rather than role IDs, and

Re: [Catalyst] Web hosting?

2007-12-15 Thread Ashley Pond V
DreamHost is used by a few of us. It has several caveats. They oversell and are somewhat dishonest about how they do it and what their definitions for disk usage are. They have more outages than some hosts (I would not put a 24/7 business there) b/c they let a lot of dynamic, db-heavy,

Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-15 Thread Jay K
Hi There Ashley, The DBIx::Class module expects to use the relation provided in the role_relation config element to retrieve one or more rows, which must contain a field called by whatever you provide in role_field. My guess is that your user_roles table is a cross-ref table - userid and