Ok so I have a RoR project that seems to be...unconventional lol
I'm attempting to validate the name of the file and using
Kernal.System to input the file in the system as a parameter.
I've tried validates_presence_of, but that doesn't appear to work
unless in a model which I don't have. I'm trying to use
error_messages_for, but I don't understand how to use it or what to
put in the controller.
As for the Kernal. System, how do you use it so that when the user
hits "OK", RoR inputs the file in the correct command, runs it, and
points the user to the generated html file?
Here's the complete code: