mercredi 26 août 2015

Ruby-Rails Running code and saving the output in the database

My code reads in log files and parses the data. The output gets me something that looks like this:

name: jon
domain: jon@gmail.com
date: 2-12-2012

I have created my database called "databases" And I want to have my parsed data updated in the database without using simply CRUD actions. (I don't want to manually create each log) My question is how would I go about automatically taking the parsed data (after running my code) and having it save and show up in the database.

Thanks

Aucun commentaire:

Enregistrer un commentaire