Word_wrap & restful_authentification

Hi,

I have two problems:

1- I use rails 2.1, I would like use word_wrap my text. But the method
has no effects. However the method truncat goes on the same text. In
MySQL this is a text type. Have you an idea?

2- When I open an authentification page in firefox my login-password are
accepted in a web formulary.
In Internet explorer I have a window (authentification popup of windows)
to fill. The same login-password don’t pass. (OS : Vista).

Thanks.

On Mon, Aug 25, 2008 at 10:29 PM, Pierre-yves Pyf
[email protected] wrote:

Hi,
Hi

I have two problems:
First. two problems, two discussions, but no problem.

1- I use rails 2.1, I would like use word_wrap my text. But the method
has no effects. However the method truncat goes on the same text. In
MySQL this is a text type. Have you an idea?
Are the “\n” correctly placed in your text ? try to use simple_format
for example.
word_wrap add “\n”, but no
, so when you render html, you can’t
see the difference.

my .2 cents.


Gabriel L. [email protected]

Gabriel,

Sorry for two questions in the same post.
You are right, word_wrap return the correct text. But my text had not
any “\n”.

Thank you.