On Wed, Oct 5, 2016 at 11:51 AM, George Stoumpos <stoge88@gmail.com> wrote:
> 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.
What exactly are you having a problem with? Storing a single hash,
or storing multiple hashes during a single request, or ?
Do you have some code to show where you're blocked?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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/CACmC4yAzdMYve4wTBUEn8kXz_65Y1j8O6cpYtnWv%2B0pdLYAnrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment