I am not able to access application in the browser

My server is running but not getting anything

In server m getting

Started GET “/users/sign_in” for 127.0.0.1 at 2011-11-30 16:56:13
+0530
Processing by UsersController#show as HTML
Parameters: {“id”=>“sign_in”}
Completed 401 Unauthorized in 1ms

##########and in browser#######
The page isn’t redirecting properly

      Firefox has detected that the server is redirecting the

request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to
accept
cookies.

On 30 November 2011 11:41, rahul chandra [email protected] wrote:

My server is running but not getting anything

In server m getting

Started GET “/users/sign_in” for 127.0.0.1 at 2011-11-30 16:56:13
+0530
Processing by UsersController#show as HTML
Parameters: {“id”=>“sign_in”}

You have a problem with your routes. It is interpreting sign_in as an
id and going to the show action. You may have a route for show/id
before sign_in.
Try
rake routes
in a terminal to see what your routes are.

Show us your routes.rb and the result of rake routes if you cannot work
it out.

Colin

On Wed, Nov 30, 2011 at 7:59 PM, Colin L. [email protected]
wrote:

id and going to the show action. You may have a route for show/id
before sign_in.
Try
rake routes
in a terminal to see what your routes are.

The browser says it’s not redirecting properly so I think another
probable
cause
is requiring a logged in user for the action that shows the login page.
You most
probably have a before_filter that checks if the user is logged in, and
if
not,
redirects to the log in page.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

thanks guys figured it out…

The problem was in routes and i rewrite it again…

On 30 November 2011 12:17, rahul chandra [email protected] wrote:

thanks guys figured it out…

It is good practice to describe the solution in case anyone finds this
thread in the future. It is very frustrating to find someone with the
same problem as yourself who has found a solution but has not
published it.

Colin

rake routes

To post to this group, send email to [email protected]
visit my blog at http://jimlabs.heroku.com


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


gplus.to/clanlaw

On Wed, Nov 30, 2011 at 9:02 AM, rahul chandra
[email protected]wrote:

published it.

Colin

You remind me of this comic
http://xkcd.com/979/

=)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs