rails & diacritic

Hello,

does anybody know how to strip diacritic from some text in rails?

I need to define it in somemodel/to_def method

Thank you tom