Re: [Catalyst] Updating a database entry

2011-04-04 Thread Tomas Doran


On 3 Apr 2011, at 20:25, Adam Jimerson wrote:


 Or is it complaining about the lack of a
primary key all together?


Yes.

Also, you're probably better asking DBIx::Class questions on the  
DBIx::Class list :)


Cheers
t0m


___
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/


Re: [Catalyst] Updating a database entry

2011-04-04 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thank you that solved my problem, also I will keep that in mind if I
have any othr DBIx::Class questions/issues.

Tomas Doran wrote:
 
 On 3 Apr 2011, at 20:25, Adam Jimerson wrote:
 
  Or is it complaining about the lack of a
 primary key all together?
 
 Yes.
 
 Also, you're probably better asking DBIx::Class questions on the
 DBIx::Class list :)
 
 Cheers
 t0m
 
 
 ___
 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/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2aJngACgkQsK1mqepTLy+odQCgtAMX8yFeWeahd6MND3PmHHzS
4iQAoM4Cn3ZpGj9HL5ryjldLKTeHwq4T
=tCi3
-END PGP SIGNATURE-

___
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/


[Catalyst] living without Apache 'deflate'

2011-04-04 Thread John M. Dlugosz
Since fastcgi doesn't get along with the deflate module, I've turned it off, per the 
installation instructions and Catalyst tutorials.


But I'm wondering about SVG images.  Can I pre-compress the files on disk and have the 
browser see the same thing as the deflate wrapper around the actual content type?  That's 
certainly better for the server anyway, instead of deflating it on every request.



___
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/


Re: [Catalyst] living without Apache 'deflate'

2011-04-04 Thread Andrew Rodland
On Monday, April 04, 2011 06:11:39 PM John M. Dlugosz wrote:
 Since fastcgi doesn't get along with the deflate module, I've turned it
 off, per the installation instructions and Catalyst tutorials.
 
 But I'm wondering about SVG images.  Can I pre-compress the files on disk
 and have the browser see the same thing as the deflate wrapper around the
 actual content type?  That's certainly better for the server anyway,
 instead of deflating it on every request.

For starters: you don't need to do without mod_deflate. Just install a non-
broken version of mod_fastcgi (version SNAP-0811090952, from 2008, or newer).

But if somehow that's not an option, you can load 
Catalyst::Plugin::Compress::Deflate (of course you'd also need to use 
Catalyst::Plugin::Static::Simple as well, instead of allowing apache to serve 
those files directly).

Precompressing the files on disk *is* possible but there's a difficulty 
involved with the headers, since you can't send a deflated body without an 
appropriate Content-Transfer-Encoding, and you can't do it at all unless the 
client has sent an appropriate Accept header. Doing this right is a matter of 
a bit of programming, unless you can find a module that already does it for 
you.

Andrew

___
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/


Re: [Catalyst] living without Apache 'deflate'

2011-04-04 Thread John M. Dlugosz
On 4/4/2011 8:09 PM, Andrew Rodland andrew-at-cleverdomain.org |Catalyst/Allow to home| 
wrote:
For starters: you don't need to do without mod_deflate. Just install a non-broken 
version of mod_fastcgi (version SNAP-0811090952, from 2008, or newer).


I did think it was odd that the current version is from 2007 and it's been fixed but no 
new release since then.  Why not?  Should I make an end-run around Debian's packaging 
system and integration testing of stable versions for this exception?  Why wouldn't a 
newer version not be in there already?




___
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/