Displaying 1 result from an estimated 1 matches for "open_send_receive".
2006 Feb 16
1
Newby: Getting "unitialized constant SockServ" -- help
...er.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 => false)
end
This is in my apps/models directory (sockserv.rb)
class SockServ
def initialize
end
def self.open_send_receive
# open a socket here and send the data in the xml var...