remove all html tag before validation

hi,

is there a clean way to remove all html tag of all attributes before validation

I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s

thanks

hi,
is there a clean way to remove all html tag of all attributes before validation
I found acts_as_sanitized that seemed to be perfect, but for rails 2 :-s

Have a look at flavorjones/loofah on Github. It includes a sanitize helper that should do exactly what you need.

Walter