# Simple: How to use TextHelper in a controller

**URL:** <https://www.ruby-forum.com/t/simple-how-to-use-texthelper-in-a-controller/94828>\
**Category:** Rails\
**Created:** [May 16, 2006, 1:28am UTC](https://www.ruby-forum.com/t/simple-how-to-use-texthelper-in-a-controller/94828 "2006-05-16T01:28:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [May 16, 2006, 1:28am UTC](https://www.ruby-forum.com/t/simple-how-to-use-texthelper-in-a-controller/94828/1 "2006-05-16T01:28:44Z")

</div>

I’m having trouble succesfully getting access to the

ActionView::Helpers::TextHelper.strip\_tags

method from one of my controllers.

If I try to call it directly using

ActionView::Helpers::TextHelper.strip\_tags

I get

undefined method `strip\_tags’ for ActionView::Helpers::TextHelper:Module

What is the preferred way to make ActionView helpers available to a  
descendant of ActionController?

Thanks,  
Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [May 16, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/simple-how-to-use-texthelper-in-a-controller/94828/2 "2006-05-16T17:17:05Z")

</div>

check out: [BigBold - Informasi Tentang Bisnis dan Marketing](http://www.bigbold.com/snippets/posts/show/1799)
