Logout Does not working in Production Environment

58 views
Skip to first unread message

harry suren

unread,
Nov 11, 2014, 4:45:23 AM11/11/14
to rubyonra...@googlegroups.com

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.

Vivek Sampara

unread,
Nov 11, 2014, 4:57:40 AM11/11/14
to rubyonra...@googlegroups.com
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 . 

--
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 rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a81aea30-a14f-4ac0-b1bf-8f0ab50b9666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vladimir Gordeev

unread,
Nov 11, 2014, 11:35:49 AM11/11/14
to rubyonra...@googlegroups.com
Telepathy skills, huh? I couldn't figure it out.

Vivek Sampara

unread,
Nov 11, 2014, 11:49:24 AM11/11/14
to rubyonra...@googlegroups.com

Colin Law

unread,
Nov 11, 2014, 11:51:16 AM11/11/14
to rubyonra...@googlegroups.com
On 11 November 2014 16:39, Vivek Sampara <ravens...@gmail.com> wrote:
> Sarcasm ? :)

I assumed it was admiration

Colin
> https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj_cQGNJO%2BsH4iwFTiCicbFcsgP1nji0h%3DGXrbJfLmc9fw%40mail.gmail.com.

Vivek Sampara

unread,
Nov 11, 2014, 12:16:40 PM11/11/14
to rubyonra...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages