Text columns

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 #

Using the scaffold-generated edit view, I see the text but saving it
returns “expected 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

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 #

I’ll be honest: I don’t completely understand the situation. Where is
@foo assigned a value?

Also, you might just find that there is better support for
Rails-specific problems (if that ends up being the case) on the
RubyOnRails.org mailing list, rather than here. Or, you can get on IRC
and talk it up on #rubyonrails. You’ll find that we mainly deal with
non-Rails stuff.

M.T.

thanks, i’ve moved the question over to the rails group.