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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 30 November 2011 11:41, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Jim Ruther Nill
2011-Nov-30 12:07 UTC
Re: I am not able to access application in the browser...
On Wed, Nov 30, 2011 at 7:59 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 30 November 2011 11:41, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. >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.> > Show us your routes.rb and the result of rake routes if you cannot work it > out. > > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rahul chandra
2011-Nov-30 12:17 UTC
Re: I am not able to access application in the browser...
thanks guys figured it out... On Wed, Nov 30, 2011 at 5:37 PM, Jim Ruther Nill <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Wed, Nov 30, 2011 at 7:59 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > >> On 30 November 2011 11:41, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. >> > > 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. > > >> >> Show us your routes.rb and the result of rake routes if you cannot work >> it out. >> >> Colin >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > ------------------------------------------------------------- > visit my blog at http://jimlabs.heroku.com > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 30 November 2011 12:17, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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> > > On Wed, Nov 30, 2011 at 5:37 PM, Jim Ruther Nill <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> >> >> On Wed, Nov 30, 2011 at 7:59 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: >>> >>> On 30 November 2011 11:41, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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. >> >> >> 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. >> >>> >>> >>> Show us your routes.rb and the result of rake routes if you cannot work >>> it out. >>> >>> Colin >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> >> >> -- >> ------------------------------------------------------------- >> visit my blog at http://jimlabs.heroku.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.-- gplus.to/clanlaw -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rahul chandra
2011-Nov-30 14:02 UTC
Re: I am not able to access application in the browser...
The problem was in routes and i rewrite it again... On Wed, Nov 30, 2011 at 5:50 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 30 November 2011 12:17, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 > > > > > > > On Wed, Nov 30, 2011 at 5:37 PM, Jim Ruther Nill <jvnill-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > >> > >> > >> > >> On Wed, Nov 30, 2011 at 7:59 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > wrote: > >>> > >>> On 30 November 2011 11:41, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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. > >> > >> > >> 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. > >> > >>> > >>> > >>> Show us your routes.rb and the result of rake routes if you cannot work > >>> it out. > >>> > >>> Colin > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups > >>> "Ruby on Rails: Talk" group. > >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > >>> To unsubscribe from this group, send email to > >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >>> For more options, visit this group at > >>> http://groups.google.com/group/rubyonrails-talk?hl=en. > >>> > >> > >> > >> > >> -- > >> ------------------------------------------------------------- > >> visit my blog at http://jimlabs.heroku.com > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "Ruby on Rails: Talk" group. > >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> For more options, visit this group at > >> http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group at > > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > -- > gplus.to/clanlaw > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Javier Quarite
2011-Nov-30 14:12 UTC
Re: I am not able to access application in the browser...
On Wed, Nov 30, 2011 at 9:02 AM, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> The problem was in routes and i rewrite it again... > > On Wed, Nov 30, 2011 at 5:50 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > >> On 30 November 2011 12:17, rahul chandra <richesrahul-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 >> >>You remind me of this comic http://xkcd.com/979/ =) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.