Hi George, " Isolate the area with the text you want " , example ?
Ideally it looks like you have to grab a book of regular expressions. Cheers Vivek On Mon, Dec 1, 2014 at 4:42 PM, George Stoumpos <[email protected]> wrote: > Hi there, > > I am trying to figure out how to do something in Rails. > Here's the situation: > > I want to store in the DB (as fields) info found in a text file. I've > created a ruby scripted, where I "isolate" the area with the text I > want(just to test, or play around). > I need a guideline on the approach... > I want my user, to upload a text file, and then Rails should use this file > to isolate the needed text and store it to the DB. > > Any Ideas? > > PS. I consider myself a rails newbie, so excuse my unawareness in advance > :) > > Have a nice day, > > Yours, > G. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/5e07d783-63ae-4817-a541-6809d78230e2%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/5e07d783-63ae-4817-a541-6809d78230e2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj9kaJ1wB8KjmC02xJGJcXdoTMYvu-UytoPXqmSyUGhmmQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

