Localhost 3000

actually i created a mechanize action with a rake tasks a typed it in console now how to check it in the browser localhost:3000 i am confused please help i am new to ruby on rails.

After Fetching a Page in rails Console How do i check it in browser please help.

hi,
I am actually a new to ruby on rails i wrote a mechanize action in rails console tell me how to check it in localhost 3000 i dont have any idea please help.

In the command window, in your Rails project directory, type


rails server

This will start the local (development) server
Then, open your favorite browser and point it to http://localhost:3000
The ‘3000’ is the port your Rails project will respond to requests from your local browser.

I FETCHED A PAGE IN RAILS CONSOLE USING MECHANIZE ACTION JUST TELL ME SIR WHERE IT GOES AND HOW TO TEST IT I MEAN HOW TO KNOW WHEATHER THE ACTION I CREATED IN RAILS CONSOLE IS FINE OR NOT HOW TO TEST IT IN LOCALHOST BEACUSE WHEN I USE IT NEVER DISPLAYS ANYTHING SHOULD I CREATE ANY MODEL CONTROLLER VIEW FOR IT I AM CONFUSED … IT WOULD BE GREAT HELP IF YOU HELP ME.

Hi, please don’t make multiple posts for the same question.

Mechanise doesn’t open the browser and is used for accessing remote sites (not localhost)
capybara and selenium-webdriver do open up the browser and show you what is happening.

If you are trying to run scripts that open up the browser and test your application use Cucumber and selenium-webdriver
http://cukes.info/