Bidi support in ruby on rails

Anybody know how to implement Bidi support in ruby on rails?
Help!