I have been working on an application that takes a text file and
parses information from it. I have the script in my script folder,
and can run it if I enter ‘script/parser file.txt’. I am using the
‘attachment_fu’ plug-in to upload the text file to my public folder
(admittedly not the best place to keep raw data, but I will work that
out in time). Once I have that file uploaded, and verified it using
the ‘validates_as_attachment’, how do I get the script to
automatically parse the file?
Would it be possible to create a helper that runs a console command?
It seems possible, but not the best way. Does anyone have a better
Thank you so much for any help you can give. I have been racking my
brain trying to figure this out.