You're missing https://github.com/rails/jquery-rails or https://github.com/rails/jquery-ujs in your assets. As a result. The link to :method => :delete doesn't work and sends a request as :get .
On Tue, Nov 11, 2014 at 3:15 PM, harry suren <[email protected]> wrote: > Logout functionality does not working properly in "Production Environment". > > The logout Function is called in Production Environment by Started GET > "/logout" for 127.0.0.1 at 2014-11-11 14:48:52 +0530 instead of Started > DELETE "/logout". > > Note: I don't use Device Gem in my application. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/a81aea30-a14f-4ac0-b1bf-8f0ab50b9666%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/a81aea30-a14f-4ac0-b1bf-8f0ab50b9666%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj_Vt3sCaundhv49nmrr2%3DC_UGYEHCEL%2BwonKUH92jSabQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

