search for: sock_serv

Displaying 2 results from an estimated 2 matches for "sock_serv".

Did you mean: sc_serv
2006 Feb 18
6
Why doesn''t my "action" take action?
...;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 => false) end and I even have this in my get_reor...
2006 Feb 16
1
Newby: Getting "unitialized constant SockServ" -- help
...ized constant SockServ C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'' #{RAILS_ROOT}/app/controllers/mindreadr_controller.rb:15:in `get_reordered_images'' This error occured while loading the following files: sock_serv.rb This is in my ApplicationController (partila) def get_reordered_images # eventually send in image IDs, for now, send in nothing, just get images @response = SockServ.open_send_receive # now unwrap XML response, and create list of image IDs to display render(:layout...