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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:52:58+00:00 2026-06-01T17:52:58+00:00

I created a data model, I am using mysql database. I use savon for

  • 0

I created a data model, I am using mysql database. I use savon for handling SOAP requests. On the console I can see SOAP controller debug creating data. Most of the part of part of is working, expect saving the created information.

How do I bring in the save method? I want to save the successfully received response from a soap request. The actual code is big, so trying skip posting it here. I will post if required.

rails g model ticket ticket_num:string t_status:string priority:string solution:string  misc:string
rails generate controller ticket create
rake db:migrate

Controller Code:

class TicketController < ApplicationController
  def create
    ticket = Ticket.createticket(params[:caller], current_user.user_id, current_user.firstname, current_user.lastname, current_user.email)
    ticket.save
  end
end

Error Message:

NoMethodError in TicketController#create

undefined method `save' for #<Savon::SOAP::Response:0xaed6da4>
  • 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-01T17:52:59+00:00Added an answer on June 1, 2026 at 5:52 pm

    It’s hard to tell without seeing the code, but I’m guessing the problem is that you’re not returning your newly created Ticket object at the end of your Ticket.createticket method. You’re probably doing something with your Savon client on the last line of the method so it’s returning that instead of the new Ticket object.

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

Sidebar

Related Questions

I have created an entity data model and generated a database from it. One
Using CakePHP 1.3 I'm trying to save some data to a MySQL database. The
I'm using Linq To Entities so I can Linq to my MySql database. My
I have an Entity Data Model that I have created, and its pulling in
I have created a Dynamic Data site against an Entity Framework Model I have
I've created a relational model in Oracle SQL Developer Data Modeler. I want to
Simple. I created a LINQ-TO-SQL Entity model, created a website, added a Data Service
i am using codeigniter 2.1.0 and mysql database. in my admin panel i have
I am using ASP.NET MVC2 on top of a MySQL database in VS2008. I
I'm starting out using the Zend Framework and have created a suitable model which

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.