On Oct 7, 3:47 pm, "Eric Schulte" <[EMAIL PROTECTED]> wrote:
> Is there a way to inspect which method (put, post, get etc...) is being sent?
>
> When I submit this form I am still directed to the
> processing_service_controllers/new action.  I'm really not clear on
> what's going on, and why this one particular model has issues when all
> of my other models are working fine.  Also the
> processing_service_levels/edit form is submitting to the edit actions
> instead of update.
>

Are you sure it's just not being redirected?  If the .save fails
inside the create() action, it looks like the code will render the new
form again - so perhaps it's been misleading?

Can you check the development.log, and see if the #create action is
really ever getting called?  At the end of the "Processing..." line in
the log, you should see "[POST]" to confirm that the POST method is
being used.

Sorry if you've already checked all this... just trying to think of
what to try next.

Jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to