Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8525641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:02:34+00:00 2026-06-11T08:02:34+00:00

I just upgraded the gem less-rails-bootstrap to use twitter bootstrap 2.1.0, and it seems

  • 0

I just upgraded the gem less-rails-bootstrap to use twitter bootstrap 2.1.0, and it seems to have broken this code in my view, inside a bootstrap dropdown:

<%= link_to 'Logout', destroy_admin_user_session_path, :method => :delete %>

The server seems to think this is a GET request instead of a DELETE. However, if I take that view code and put it immediately outside the dropdown, then it works great and the server recognizes the DELETE request.

If I change my gemfile as such:

gem 'less-rails-bootstrap', '~> 2.0.4'

Then run ‘bundle update’ and restart the server, then everything works as expected again. But if I simply have:

gem 'less-rails-bootstrap'

Then run ‘bundle update’ and restart the server, then the server thinks the DELETE is a GET request.

I tried switching to the gem ‘twitter-bootstrap-rails’, and the exact same issue occurs. I assume I must be doing something wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T08:02:35+00:00Added an answer on June 11, 2026 at 8:02 am

    Yeah, it’s a Twitter Bootstrap issue. Probably will be fixed in the next release. Here, try this quick fix:

    $('body')
      .off('click.dropdown touchstart.dropdown.data-api', '.dropdown')
      .on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just upgraded an app to Rails 3.2 and am starting to use Twitter
I’ve just upgraded and have a problem. Previously this code was working fine: page
We've got a Rails application just upgraded to Rails3 using Devise's Rails3 gem for
I just upgraded my WAMP. A lot of my code used to use <?=$variable?>
I just upgraded from Rails 3.1.0 to 3.2.3. Once I got my gem dependency
I just upgraded to Rails 3.2.0 and get this error after signing up to
I just upgraded my Leopard system to Snow. I had a Rails application with
Just upgraded a MBP 2009 from Snow Leopard to Lion. MySQL seems to be
I just upgraded to rails 3.2 Everything is working fine except error pages no
I have just upgraded my macbook from mac os 10.5 to 10.6 and have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.