Ah, okay, I get it. Thank you!!
On Wed, Aug 11, 2010 at 1:06 AM, Moritz Onken on...@houseofdesign.dewrote:
Hi,
you need to move this in the resultset class:
package MyApp::Schema::ResultSet::User;
use base 'DBIx::Class::ResultSet';
...
sub create_user {
my ($rs, $params) = @_;
I am a DBIC beginner, but here's what I have learned: Your table classes
should subclass DBIx::Class::Core (not DBIx::Class). And if you have methods
that need to be called from a ResultSet class, then you should add also
create Schema classes that subclass ResultSet.
On Wed, Aug 11, 2010 at
Writing my first app with a fully Moose'd catalyst, and I find that my
Exception classes (based on Exception::Class) aren't loading*. I see from
the docs that MooseX::Error::Exception::Class requires some metaclass magic
that I don't understand. Should this work?
I'm confused about the right way to get a schema instance from within a
class method. If I've already got a resultset or resultsource instance, it's
easy. But from a class method within my model? Do I create a new connection
every time I need one, ie. MyApp::Schema-connect()?
To be specific:
On Tue, Jun 23, 2009 at 1:28 AM, Aristotle Pagaltzis pagalt...@gmx.dewrote:
* seasproc...@gmail.com seasproc...@gmail.com [2009-06-23 03:00]:
Thanks for your suggestion, but I'm pretty sure that the data
is not getting encoded twice. C::V::JSON tests the data before
it encodes (
On Fri, Jun 19, 2009 at 11:46 AM, Naylor Garcia naylorgar...@gmail.comwrote:
Is there a plugin that automatically recognize the encoding (eg ISO, UTF,
etc.) and automatically decode de string?
As I understand, it is not possible in general to guess the encoding from
the data. Encode::Guess
I had a character encoding issue that I finally solved, but I don't
understand why the fix works. I'm hoping someone can explain this to me!
The issue was that non-ascii chars were appearing as junk BUT only when
retrieved via ajax calls. Otherwise, they displayed fine. The junk display
was due
On Sat, Apr 25, 2009 at 6:29 AM, Bill Moseley mose...@hank.org wrote:
On Fri, Apr 24, 2009 at 03:48:36PM -0700, Phil Mitchell wrote:
I am running mod_perl/Apache 2.0 and serving SSL on a non-standard port
via
a VirtualHost. I thought my apache setup was vanilla, but perhaps not --
I
On Sat, Apr 25, 2009 at 1:23 PM, Hans Dieter Pearcey
hdp.perl.catalyst.us...@weftsoar.net wrote:
On Sat, Apr 25, 2009 at 06:29:50AM -0700, Bill Moseley wrote:
The SSL decryption is happening on Apache and Apache is proxying the
request to Catalyst.
What? No it isn't. It's using
The expected behavior (for me) is that secure() returns true if the
connection is secured via SSL.
Looking at Engine::CGI, it appears that it only returns true if $ENV{HTTPS}
eq 'ON' or if you're on Port 443.
Furthermore, if secure fails because you're on a non-standard port and HTTPS
is not
10 matches
Mail list logo