Displaying 2 results from an estimated 2 matches for "free_response".
2001 Nov 27
2
winbind trouble, maybe PDC too.
A quick preamble.  SAMBA 2.2.2, Redhat 6.2, Mandrake 8.1 Windows NT4.0sp6a
PDC
Here is an excerpt from my winbind log.
Sending a packet of len 50 to (192.168.1.255) on port 137
Received a packet of len 62 from (192.168.1.20) port 137
nmb packet from 192.168.1.20(137) header: id=5433 opcode=Query(0)
response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header:
2006 Jul 04
1
Smart html output for an object?
...mat I want.  I''ve been focusing on using a case/when control 
structure, so let me start by showing you some code...  I was trying to 
use this following code as a helper method,
def print_question(question)
  @question = question
    case @question.question_type.code
      when ''free_response''
        text_area(@question, :response, :id => "response_" + 
question.id.to_s, :cols => 40, :rows => 10)
      else
        "boo!"
    end
  end
this is just mock up code, I can''t get this to work. Something about 
text_area() needing variables of a...