I’m not certain, but I think I’m having a problem with my app
receiving post requests in production. I’ve got two distinct problems
that only manifest themselves in production on a Media Temple Grid
Server plan. I’m using Capistrano to deploy and I’m running Rails
The first problem is that I’ve got a form that auto-submits when a
select menu is changed. The form submits, but doesn’t appear to submit
a post request. I’ve got an if statement checking if request.post?
that returns false, and I don’t see anything indicating a post request
in the production.log file. It works perfectly on my development
The second problem is that my create actions aren’t being invoked in
certain cases where I’m using attachment_fu. It’s a similar problem,
where post requests don’t seem to be processed correctly in
production. Basically, I submit a form using RESTful conventions and
the index action is invoked instead of the create action.
I’m wondering if these two problems are related in that they both
involve improper handling of post request in production. I posted some
additional detail here as well:
If somebody has experienced this, or thinks they know what’s going on,
I’d appreciate any help you can provide. I can’t seem to track down
the problem, and I’m completely out of ideas.