Re: how can I catch HTTP 501?

2008-02-23 Thread pedro mg
by redirecting that error message to a specific Route of yours. /lib/reststop.rb if e.message =~ /no such method/ return no_method(e) # == act here ;) else raise e end ...or even a bit above, in the protected block under send(custom_action...) pedro mg On 2/23/08, Albert Ng [EMAIL PROTECTED] wrote: I'm

Re: Keeping Camping going

2008-01-11 Thread pedro mg
Yes, lets keep Camping moving on. Feeling very confortable in it. Received Nobody knows Shoes yesterday. So wonderfuly odd :) I wonder if Mr. _Why can take some time for a Camping book too from Lulu... What a nice collection it would be. (I think I saw some S. Lem books on the shelf) -- pedro

Re: css image url's and :img problem FIXED

2007-11-24 Thread pedro mg
-- pedro mg ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: css image url's and :img problem

2007-11-21 Thread pedro mg
On Sun, Nov 18, 2007 at 04:10:04AM +, pedro mg wrote: img :src = R(Static, 'img04.jpg'), :alt = 'test image' Hi, anyone using Lighttpd + FastCGI to run Camping using Why's configuration shown at 4) in: http://code.whytheluckystiff.net/camping/wiki/TheCampingServerForLighttpd Focusing

Re: css image url's and :img problem

2007-11-20 Thread pedro mg
On Tue, Nov 20, 2007 at 06:34:12AM +, pedro mg wrote: You aren't running on Windows are you? The newline handling might be corrupting your files... If i test http://localhost:3301/project/static/img01.png I get the correct Content-Type in the browser title: img01.png (PNG Image

Re: css image url's and :img problem

2007-11-19 Thread pedro mg
On Mon, Nov 19, 2007 at 03:13:11PM +0100, Jonas Pfenniger wrote: 2007/11/18, pedro mg [EMAIL PROTECTED]: The class is here: http://pastebin.com/f7c92f95a Remove the quotes around the regexp on line 5. Right now the expression returns nil, which is not an entry in your MIME_TYPES hash

Re: css image url's and :img problem

2007-11-19 Thread pedro mg
might be corrupting your files... no, Debian Etch. Epiphany and Iceweasel, same results. best regards, -- pedro mg http://blog.tquadrado.com ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

css image url's and img problem

2007-11-18 Thread pedro mg
them appear in the page using: img :src = R(Static, 'img04.jpg'), :alt = 'test image' I always get the alternate description (or a thumb is no :alt is supplied). Any hint ? Thank you. -- pedro mg ___ Camping-list mailing list Camping-list

Re: css image url's and :img problem

2007-11-18 Thread pedro mg
On Sat, 2007-11-17 at 21:43 -0800, John Beppu wrote: On Nov 17, 2007 8:10 PM, pedro mg [EMAIL PROTECTED] wrote: background: #33 url(img01.gif) repeat-x; url(/static/img01.gif) oh, sorry for the 2nd post. Ty John, but i tried that, and even the whole path to the images

Re: css image url's and :img problem

2007-11-18 Thread pedro mg
problems with DOCTYPE and headers... -- pedro mg ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

css image url's and :img problem

2007-11-17 Thread pedro mg
image' I always get the alternate description (or a thumb is no :alt is supplied). Any hint ? Thank you. -- pedro mg ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list