Ahmed Abdelsalam wrote:
> Hi,
> 
> I have some data stored in file in JSON format. I'd like to read these
> data and store them into database in rail application. Is there any
> plugin to perform this? or direct code?
> 

ActiveSupport has some JSON stuff built in.  Check the docs for 
ActiveSupport::JSON.


> Should I convert this data to csv or other format?

Either leave it in JSON or use YAML (which is *almost* a superset of 
JSON).

> 
> Thanks,
> 
> Ahmed

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to