search for: _false

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

Did you mean: false
2008 Dec 07
0
boolean button helper
...typically takes 5 lines of html: 3 labels and 2 radio buttons. Here''s a simple boolean button helper that you can put in your custom form builder. class YourCustomFormBuilder < ActionView::Helpers::FormBuilder ... def boolean_buttons_for(method, label_true = "true", label_false = "false" ) @template.content_tag("div", @template.label(@object_name, method, method.to_s.humanize, :class => ''align'' ) + @template.radio_button( @object_name, method, true ) + @template.label( @object_name, method.to_s + "_true&q...
2009 May 18
2
stringsAsFactors param in expand.grid not working
Hi all, I've (tried) to look through the bug tracker, and gmane-search the R list to see if this has been mentioned before, and it looks like it hasn't. According to the R 2.9.0 release notes[1], the expand.grid function should now take a stringsAsFactor=LOGICAL argument which controls whether or not the function coerces strings as factors. While the parameter is indeed in the
2009 May 18
2
stringsAsFactors param in expand.grid not working
Hi all, I've (tried) to look through the bug tracker, and gmane-search the R list to see if this has been mentioned before, and it looks like it hasn't. According to the R 2.9.0 release notes[1], the expand.grid function should now take a stringsAsFactor=LOGICAL argument which controls whether or not the function coerces strings as factors. While the parameter is indeed in the