search for: mindreadr_controller

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

2006 Feb 14
4
Newbie stumped by "NameError in "
...MindReader server --> <!-- Right now the code doesn''t matter, because I cannot --> <!-- get this section of code even called. --> require "socket" STDOUT.flush s = TCPSocket.open("192.168.107.10", 9000) result = "MindReadr Request called" mindreadr_controller.rb (mindreader_open_socket is defined here) class MindreadrController < ApplicationController def index end def display_images_from_mindreadr # Basic action which calls _open_socket, _request, and _read render(:layout => false) end def mindreadr_open_s...
2006 Feb 16
1
Newby: Getting "unitialized constant SockServ" -- help
...asic. Do I have to initialize SockServ somewhere or is this error message really indicating something else? uninitialized 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.op...