Displaying 1 result from an estimated 1 matches for "mycontroller_controller".
2006 Feb 18
6
Why doesn''t my "action" take action?
...get_reordered_images''}) %>
<label for="num_images_requested">How many images?</label>
<%= text_field_tag :numreq %>
<%= submit_tag "Click to get images" %>
<%= end_form_tag %>
...and of course, this im my Mycontroller_controller.rb:
def get_reordered_images
@sock_serv = TCPSocket.new("192.168.107.7", 9000)
xml = "<?xml version=''1.0'' ?>"
@sock_serv.send(xml,0)
@results = @sock_serv.recv(1000)
@sock_serv.close
render(:layout =>...