I’ve been trying to learn Ruby and am incredibly confused. I think I am
making this way to complicated. I’ve got a simple html form:
I want to pass this value to my ruby file I have called ‘logic.rb’ and
then spit it back out to my html file. I have been reading about ERB
files and am not sure of how to use these.
Do I need to put this html file into the .rb file?? or can I have
separate files? How do I just send a form value to my ruby file and vice
versa? Could someone give me some good documentation on how to do this??
I’ve searched all over and can’t seem to find anything useful.