Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > BOOK: Beginning Ruby on Rails
|
BOOK: Beginning Ruby on Rails
This is the forum to discuss the Wrox book Beginning Ruby on Rails by Steve Holzner Ph.D.; ISBN: 9780470069158
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Ruby on Rails section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2007, 11:37 AM
Registered User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default no route found "/\\look\\at" with {:method=>:get}

Ok, Its established that some of the actions that are called for in these rails apps work in certain browsers and others not.

Why don't we actually fix this?

The way this is formated in the input.rhtml

<form action = "\look\at">
          OR
<form action = "look\at">

With the slash forward or back does not work in fire fox but does in IE.
It also seems to me to be OS independent. AE. it's repeatable in 'nix systems as well as Windows.
Since I don't have a MAC I can't really see if this working in Safari or not.
Can we come up with a fix that will cover both of these browsers? I think this is an HTML issue not so much a rails issue.

 
Old August 29th, 2007, 10:52 AM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there a way to get this to run in FF?

 
Old January 3rd, 2008, 07:27 AM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Is there actually a controller called look with an action called at?

This isn't really a bug, but is to do with what the browser is reading the URL as meaning. IE is thinking that you are requesting a windows file from a local windows network, Firefox is trying to read the address as a proper http url. If you're developing for the web you should always use unix style / slashes, not windows style \ slashes.

Lets have a look at your routes.rb. And the source for your look controller.

--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock: http://charlieharvey.org.uk





Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Rexx - Method Not Found ALFisher Other Programming Languages 0 September 7th, 2006 08:55 PM
Method or data member not found Subuana Beginning VB 6 1 March 6th, 2006 03:32 PM
Method or Data member not found Anup Gavate VB How-To 2 March 25th, 2005 04:50 PM
status 405: Method not found viges VB.NET 2002/2003 Basics 1 May 18th, 2004 12:53 PM
Server Error in '/' Application - Method not found Jan_Ma ASP.NET 1.0 and 1.1 Professional 1 October 27th, 2003 03:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.