# Including helpers in controller

**URL:** <https://www.ruby-forum.com/t/including-helpers-in-controller/178176>\
**Category:** Rails\
**Created:** [October 30, 2009, 7:08am UTC](https://www.ruby-forum.com/t/including-helpers-in-controller/178176 "2009-10-30T07:08:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [October 30, 2009, 7:08am UTC](https://www.ruby-forum.com/t/including-helpers-in-controller/178176/1 "2009-10-30T07:08:53Z")

</div>

Hi  
Is there anything wrong in including helpers in controller? For  
example fruits\_helper in fruits\_controller .Is it against MVC  
separation?

Thanks in advance  
Sijo

---

<div class="post-metadata">

**Author:** ![sijo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/da6949/32.png) [@sijo](https://www.ruby-forum.com/u/sijo)\
**Post date:** [October 30, 2009, 8:09am UTC](https://www.ruby-forum.com/t/including-helpers-in-controller/178176/2 "2009-10-30T08:09:42Z")

</div>

Technically helpers for for the view, but it can be done through the use  
of @template.

Check out Ryan B.’ RailsCast on the subject.

> **[\#132 Helpers Outside Views - RailsCasts](http://railscasts.com/episodes/132-helpers-outside-views)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.
