search for: test_no

Displaying 3 results from an estimated 3 matches for "test_no".

Did you mean: test_ne
2008 May 16
3
radio button observe field only triggers once
...then nothing after that. I have multiple fields in a form that i need to know if one of them changes and which spedific field. Below is an example of two foelds i tested and they trigger once with the alert but then nothing after that. I also tried individual observers for each field test_yes and test_no but with the same issue. <%= radio_button_tag ''test'', "yes" %> <%= radio_button_tag ''test'', "no" %> <%= observe_field(''test'', :on => ''click'', :functi...
2006 Dec 05
4
has_many with :uniq not working for me
...f :descriptor, :example, :scope=> :risk_matrix_id end class Severity < RiskFactor acts_as_list :scope => :risk_matrix end I don''t want any duplicates for a given risk matrix of a risk factor so I wrote a couple of tests. Both of them fail but I''m not sure why. def test_no severity should be duplicated for a risk_matrix sev = @rm.severities.find(:first ) # @rm is a risk matrix set during setup @rm.severities << sev assert_equal 1, @rm.severities.select{ |s| s == sev }.size end def test_descriptor should be uniq for a given risk matrix @sev...
2009 Aug 25
0
analysis of categorical data
...a within subject factor, but how can I mix these methods? Also, I need to be able to do post-hoc comparisons in all dimensions. Any ideas or references? I'd be happy to share more details as needed. Here is a sample from the data. All together, there are 366 subjects. There are 4 levels of Test_no (1,2,3,4), Ans1 and Ans2 are the within subject measures, and there are 8 levels of Ans* (cor, SE, CP, CPSE, FoM, FoMSE, zero, other). Thanks, again! SID Test_No Ans1 Ans2 1 1 other other 2 1 CPSE CP 3 1 other other 4 1 SE SE 5 1 FoM CP 6 1 FoM CPSE 7 2 cor cor 8 2 cor cor 9 2 cor cor 10 2 CPSE C...