Colin Law wrote: > 2009/9/29 Smit Shah <[email protected]>: >> >> Hi All... >> >> I am trying to parsing data from XML. But, I am not able to store it in >> database. >> So, any one can help me out??? > > What is the problem that is preventing you from storing it in the db? > > Colin
Hi Colin I am using feednormalizer gem. I have written code like @rss = FeedNormalizer::FeedNormalizer.parse open(feed_url) I am accessing the values like "@rss.entries". I have a model named as Data in which I am storing that data. @data = Data.new @data.title = @rss.entries.title But when I try to store in db it shows me like " allocator undefined for Data". Any idea??? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

