Displaying 1 result from an estimated 1 matches for "to_text_area_tag".
2007 Feb 28
1
Rails 1.2 Bug (?): to_text_area_tag
...ting the error:
private method `split'' called for 20:Fixnum
Curious as to what was going on, I decided to delve into the code a bit.
I found that mooey was calling the input(...) form helper to generate
the input fields for models and sends in the option :size => 20. input
then calls to_text_area_tag. Well, since :size is a Fixnum and
to_text_area_tag expects it to be a string, we get the above noted
error.
This does not appear to be an error with the mooey code, however, since
input(...) seems to be intended to dynamically create the correct tag
depending on the "method" type. The...