M
madcowley
Ok, this is probably a stupid question: how to handle mysql text
columns in rails?
<%= @foo.text_column_name %> returns ###
<%= @foo.send('text_column_name') %> returns #<object reference>
Using the scaffold-generated edit view, I see the text but saving it
returns "expected <column name> and got string".
I need to store text longer than 255 chars, so varchar won't work
(until we upgrade mysql..)
I know it's something simple..
Thanks
columns in rails?
<%= @foo.text_column_name %> returns ###
<%= @foo.send('text_column_name') %> returns #<object reference>
Using the scaffold-generated edit view, I see the text but saving it
returns "expected <column name> and got string".
I need to store text longer than 255 chars, so varchar won't work
(until we upgrade mysql..)
I know it's something simple..
Thanks