Forum: Ruby on Rails How to save xml values to mysql database

1d4d78bf072607d3522fe3ceae4b7a9e?d=identicon&s=25 keerthi priya (Guest)
on 2013-06-25 09:03
(Received via mailing list)
Hi All,

          I have a xml and I have to save those values into my mysql
database using ruby1.87. How can I do it. Kindly guide me how can I get
values and save them.




Thanks in advance

Cheers,
Kp
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-06-25 11:18
(Received via mailing list)
keerthi priya <emailtokeerthipriya@gmail.com> wrote:
> I have a xml and I have to save those values into my mysql database using
ruby1.87. How can I do it. Kindly guide me how can I get
> values and save them.

This really is not anywhere near enough of a description to determine
what you want. Are you unsure how to read and parse the XML? Are you
unsure how to create a record and save it? I'm going to go way out on a
limb here and assume you are using Rails, but which ORM? ActiveRecord?
And which version of Rails are you running with Ruby 1.8.7? Rails 2.x?
Can you google? Have you read documentation? What have you tried so far?
6883e5ef03484d4fcef507d7b4f1d243?d=identicon&s=25 Matt Jones (Guest)
on 2013-06-25 19:20
(Received via mailing list)
On Tuesday, 25 June 2013 00:01:54 UTC-7, keerthi priya wrote:
>
> Hi All,
>
>           I have a xml and I have to save those values into my mysql
> database using ruby1.87. How can I do it. Kindly guide me how can I get
> values and save them.
>
>
Use Ruby. :)

But seriously, you're going to have to provide a great deal more detail
for
anybody to help you on this one. What are you trying to get out the XML?
What's the database schema you're putting the values *into*?

Most importantly, what have you tried so far?

--Matt Jones
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.