Displaying 2 results from an estimated 2 matches for "movedtemporarily".
2007 Sep 21
3
merb 0.4.0 - redirect problems
...test release. Can somebody please chime in as to why this simple redirect
is throwing an error?
Controller:
-----------------------
def do
redirect "http://www.ebay.com"
end
Error Output:
-------------------------
Internal server error 500
uninitialized constant Merb::ControllerMixin::MovedTemporarily
in /lib/merb/mixins/controller.rb:
def redirect( url )
MERB_LOGGER.info("Redirecting to: #{url}")
raise MovedTemporarily, url
end
Thanks
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/200709...
2007 Nov 16
9
Challenge
The original:
http://pastie.textmate.org/private/lqvrlyyvkv2kbugoxtiz6w
Send your submissions to me by email or on #merb. I''ll blog it, and
pick a winner. The winner does not mean it makes it into Merb, just
means I personally like it best.
But it might make it into Merb.
# Scenario:
# You have a simple application that lists all the monkeys at the zoo.
# Every monkey has a