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 9059453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:58:57+00:00 2026-06-16T14:58:57+00:00

I was getting this error on starting my Rails-API app with Foreman and Thin.

  • 0

I was getting this error on starting my Rails-API app with Foreman and Thin.

AM@~/Documents/RailsWS/app1229 >foreman start
09:47:39 web.1  | started with pid 773
09:47:44 web.1  | => Booting Thin
09:47:44 web.1  | => Rails 3.2.8 application starting in development on   
  http://0.0.0.0:5000
09:47:44 web.1  | => Call with -d to detach
09:47:44 web.1  | => Ctrl-C to shutdown server
09:47:45 web.1  | Exiting
09:47:45 web.1  | 
 /Users/AM/Documents/RailsWS/app1229/config/initializers/wrap_parameters.rb:8:in 
 `block in <top (required)>': undefined method `wrap_parameters' for 
 ActionController::API:Class (NoMethodError)

After spending hours trying to debug it I was unsuccessful and so finally decided to try a hack: I commented out this line in the initializers/wrap_parameters.rb file in the project like so:

ActiveSupport.on_load(:action_controller) do
  #wrap_parameters format: [:json] 
end

This seemed to solve the immediate problem, in that the Thin server boots up and runs. However, I’m not sure what the impact on this would be on the app. Is this safe to do in a Rails-API app which uses the Rabl gem to server JSON?

I referenced the Active Resources section of Agile Web Development with Rails (Ed. 4) as well.

  • 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-16T14:58:59+00:00Added an answer on June 16, 2026 at 2:58 pm

    I scrapped the rails api project and now Im rewriting it as a full rails app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am getting this error while starting OracleMTSRecoveryService : Could not start the OracleMTSRecoveryService
I am getting this error from eway token payment API, soap:ReceiverServer was unable to
I am getting an error when I start my rails development server. I run
I'm triying to deploy my rails 3.2.8 app to heroku and i'm getting this
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException Why am I getting this error while starting my server
I am getting this error, when starting spec tests. I understand that connection with
I am getting this error from the web application I'm working right now: Initial
I am getting this error when starting JBoss with my application built with warbler:
I created a map view in my app and I'm getting this error: 09-07
Starting form now, for the first time, I am getting this error when I

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.