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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0712c533-ae57-4893-8d46-ed28bc1812c1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
keerthi priya <emailtokeerthipriya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51c96031.2576320a.2c47.700c%40mx.google.com. For more options, visit https://groups.google.com/groups/opt_out.
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9dd7f2f5-031e-4c5d-b91c-3b493677dcd4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.