Ruby on Rails Wednesday, October 5, 2016

Hi there!

I need your help

I need to figure out a way to save parsed data in my apps database.

Using nokogiri and open-uri I've managed to create an Array object with several hashes. All I want to do next is to save each hash object as a database entry.
I have a controller with all the CRUD actions, but I cant find a way to save each hash in my db. 

Somehow I am frustrated and I cant seem to figure this out.

Thank you in advance

--
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/818816bf-78a2-4b65-81a5-588762eb33a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment