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

  • SEARCH
  • Home
  • 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 780015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:00:45+00:00 2026-05-14T20:00:45+00:00

Reinstalling a Rails app on a new server. Part of the app can fork

  • 0

Reinstalling a Rails app on a new server. Part of the app can fork in one of two directions based on the button the user selects. This part isn’t working, and when I look at the log I see the values that I gave the form, execept for the commit portion of the params hash. This seems to be why the app isn’t working as expected (since there’s nothing in params[:commit], but I have no idea why commit would not be passed in; the request is definitely a POST request, and all of the other parameters are there.

  • 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-05-14T20:00:45+00:00Added an answer on May 14, 2026 at 8:00 pm

    Had a simular problem with a disable-button-on-submit feature. We solved it by adding a hidden input field with the same name and value before submitting the form.

    function disableButtonAndSubmit()
    {
      var input = $("<input type='hidden' />").attr("name", $(this)[0].name).attr("value", $(this)[0].value);
      $(this).closest('form').append(input);
      $(this).attr('disabled', 'disabled').html('Loading…');
      $(this).closest('form').submit();
    }
    
    $('#somewhere button').click(disableButtonAndSubmit);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some troubles with my Rails app after installing (and removing) Compass. bundle
Website built on: Rails 3.0.3 & Heroku Installed: Exception Notifier & New Relic I
I'm getting this warning everytime I load my rails server after I upgraded to
Currently running Server 2003 but am looking at reinstalling in the near future due
After upgrading my Rails 3.0.9 app to 3.1.1, I'm getting the following bundler error
TLDR: How do I force a rails app to use the correct ruby interpreter?
Upon reinstalling my app the code within my if statement is being accessed despite
I want my application to reset shared preferences when the application reinstalling let's say
I had to reinstall my OS, and so, I reinstalled django 1.1. Since reinstalling,
I asked this a couple of days ago on Server Fault but am getting

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.