Displaying 1 result from an estimated 1 matches for "signature_id".
Did you mean:
signature_hdr
2006 Nov 04
0
Net::HTTP.post_form got 200 but no INSERT INTO. How come? How to fix this?
...around with net/http and open-uri Ruby Libraries.. I''m
trying to post to my own rails simple new action method.
Here''s my irb :
irb(main):013:0> res =
Net::HTTP.post_form(URI.parse("http://localhost:3002/blog2/new"),
{"commit" => "Save",
"signature_id" => "", "signature_content" => "hey rails, it''s me ruby,
your lover, why can you not insert me"})
=> #<Net::HTTPOK 200 OK readbody=true>
irb(main):014:0>
Here''s the log (from rails)
Processing Blog2Controller#new (for 127.0.0....