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
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
--
pedro mg
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
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
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
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
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
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
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
problems with DOCTYPE and headers...
--
pedro mg
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
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
11 matches
Mail list logo