In my web application, The client has to enter a set of values and I
want to write them to a text file. This is what I am doing to achieve that.
class SollusController < ApplicationController
But after I enter the values from the the browser, nothing gets saved in
the file "network.txt". On the contrary, If I do this whole thing in ruby
console as below,
s.input="I need to write this to text file"
After i run the above lines, I can see the text in the intended file.
Can you please help me in debugging this part?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/kmEzliZQPqgJ.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.