RailsTip 3 – Configure sign_out method in Rails Devise Gem


Devise gem is one of the most popular gem for creating user login and signup.

The /logout action is by default set to :DELETE inside devise.rb . Most of the browsers only support :GET and :POST.

To change the method of /logout to :GET make following changes in devise.rb

config.sign_out_via = :get

Cheers !!

Advertisements

35 thoughts on “RailsTip 3 – Configure sign_out method in Rails Devise Gem

  1. hey there and thank you for your info – I’ve definitely picked up anything
    new from right here. I did however expertise some technical issues using
    this site, since I experienced to reload the website lots of times previous to I
    could get it to load properly. I had been wondering if your web
    host is OK? Not that I am complaining, but slow loading instances times will often affect your placement
    in google and could damage your high quality score if ads and marketing with Adwords.
    Anyway I’m adding this RSS to my email and can look out for a lot more of
    your respective interesting content. Ensure that you
    update this again very soon.

  2. R&B, which stands for Rhythm and Blues, was the greatest
    influence on music around the world for most of the 20th century’s second-half.

    They can play some parts (usually the main, beginning part to the song) but not much
    more than that. Your popular country, pop, rock, and instrumental music found here.

  3. Is a small, this method is only suitable for parts that are installed, but Barry
    is saving for a new change of pace, you may consider an extension cord reel.

    For many people, price is often the best indicator.

    Diagnosing and finding electrical faults is electric company essential; as a certificate
    for installing, inspecting, and testing electrics under BS7671
    and/or the City and Guilds 2382 qualification. If you will be as well.

  4. licensing info, address, contact information, all of
    which needs to be accurate and clearly displayed), and consulting with the Public Utilities Commission website (the governing body for the local moving industry).

    Don’t even think about renting a truck at the last minute
    because those will be gone too. The company delivers pods — big box-style containers —
    to your house.

  5. Hmm is anyone else encountering problems with the pictures
    on this blog loading? I’m trying to figure out if its a problem
    on my end or if it’s the blog. Any responses would be greatly appreciated.

  6. And it derives a lot of stress on us. In our view you want to do finance is
    review the updates they send us. Well, thinhs that
    you would have received from these companies.
    Following that, applicants should compare the rates of interest on the finance deal that the car dealership.
    Financial aid counswelors may also be possible for you to work.

  7. Great blog! Do you have any helpful hints for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.
    Would you recommend starting with a free platform like WordPress or go for a paid option? There are so many choices
    out there that I’m totally confused .. Any suggestions?
    Kudos!

  8. Thanks a bunch for sharing this with all folks you
    really understand what you’re talking about!
    Bookmarked. Please also talk over wirh my site =).
    We could have a hyperlink exchange contract among us

  9. You’re so awesome! I don’t suppose I’ve truly
    read through a single thing like this before. So good to find someone
    with original thoughts on this topic. Seriously..

    thanks for starting this up. This web site is something that’s needed on the internet,
    someone with some originality!

  10. So verpönt zocken auch sein mag, so steht ja zum Glück fest, dass das Daddeln,
    eine grundlegende geistige Unversehrtheit des Spielers
    vorausgesetzt, förderlich für das Reaktionsvermögen des Gamers sein kann.
    Beim Zocken lernt man mit Spaß und ohne den Druck Konsequenzen tragen zu müssen in höherer Frequenz zu
    Entscheiden und seine Handlungen zu priorisieren. Einige Games vermitteln überdies noch
    Basics über Ökonomie und fördern die kognitiven Fähigkeiten des Gamers.
    Sogar die verschrieen MMOs können doch häufig den vorgeschobenen Effekt der Abwendung von der Realität}
    aufhalten. Man kann zwar schon einigen wenigen verkommenen Subjekten begegnen, doch findet man manchmal in seinem
    Lieblingsspiel Gleichgesinnte.
    Kurz und Knapp: das Zocken ist hammer! Ungeachtet des Spiels und ob PC,Konsole,Handy,etc.
    , Zocken ist ein Kulturgut.

  11. Thanks for the auspicious writeup. It in truth was a entertainment account
    it. Look advanced to more introduced agreeable from you! By
    the way, how can we be in contact?

  12. I was wondering if you ever thought of changing the layout of your website?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it
    better. Youve got an awful lot of text for only
    having 1 or two images. Maybe you could space
    it out better?

  13. Know that he can win your case, their skill isn’t going to do the most best san diego windshield
    replacement valuable work for the court system works. Their Needs are Not MetStatistics show that 28% of the women didn’t
    undergo best san diego windshield replacement screening
    but did receive the list of criminal defense cases.

    It’s actually a misconception that is present is that only an experienced criminal defense attorney could prove to be a much larger part of your life.

  14. Definitely believe that which you stated. Your favorite reason appeared to
    be on the net the easiest factor to be aware of.

    I say to you, I certainly get annoyed while other people think about concerns that they just don’t realize about.
    You controlled to hit the nail upon the top and outlined out the entire thing without having side-effects , folks could take a signal.
    Will probably be back to get more. Thanks

  15. Helpful information. Lucky me I found your website by accident, and I am stunned why this coincidence did not
    came about in advance! I bookmarked it.

  16. I’m now not positive the place you are getting your info,
    however good topic. I must spend a while finding out more or working
    out more. Thank you for fantastic info I was looking for this info for
    my mission.

  17. Wow, incredible weblog layout! How long have you ever been blogging for?
    you made blogging glance easy. The total look of your website is excellent, as well as the content material!

  18. You really make it appear really easy with your presentation but I in finding this topic to be actually one thing which I feel I might never
    understand. It seems too complex and very huge for me.

    I am looking forward to your next submit, I will attempt to get
    the dangle of it!

  19. Your E-book should be compiled in an easy, yet professional design. I used to think this was just a coincidence, that the fish were even more wary than usual being in shallow water
    where danger is associated even more with them since the days when they were fry in the margins and most at risk
    of being devoured or attacked by herons, perch or even their hungry bigger brethren. – Batch
    conversion mode: Help you convert up to 200 PDF files at one time, save your time;.

  20. Hi! I could have sworn I’ve been to this site before but after checking through some of the post
    I realized it’s new to me. Anyways, I’m definitely delighted I found it and I’ll be book-marking and checking back frequently!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s