beginner question getting data from textbox

Corey Konrad wrote:

I am just doing a simple book exercise

and i keep getting this error in the browser:

no route found to match "/\\look\\at" with {:method=>:get}

i have an action named at set up in my controller

class LookController < ApplicationController   def at     @data = params[:text1]   end

end

i have the main public page where i get the user input:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>   <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">   <title>Using Text Fields</title> </head> <body> <h1>Working with textfields</h1> This Ruby on Rails application lets you read data from text fields <br> <form action = "\look\at" > Please enter your name. <br> <input type="text" name="text1" > <br> <input type="submit" /> </form> <br> </body> </html>

[...snip...]

all the files are in the correct directories, the input.html one is in public the controller is in its default location and the at.rhtml file is in views.

What am i missing can anyone see it?

Use forward slashes "/" in your path not backslashes "\" even if you are on Windows.