# Get\_text with safe\_erb on Rails 2

**URL:** <https://www.ruby-forum.com/t/get-text-with-safe-erb-on-rails-2/136215>\
**Category:** Rails\
**Created:** [April 29, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/get-text-with-safe-erb-on-rails-2/136215 "2008-04-29T21:24:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [April 29, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/get-text-with-safe-erb-on-rails-2/136215/1 "2008-04-29T21:24:48Z")

</div>

After patching safe\_erb to work with rails 2, I am now getting conflicts  
with get\_text.

When get\_text gets a translated value, I recieve the tainted exception.  
Has anyone come across this before and if so, where do I monkey patch to  
insert the untaint() method… 🙂

If no responses, I will eventually post my solution…

Thanks in advance

ilan
