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 -- Posted via http://www.ruby-forum.com/.
Technically helpers for for the view, but it can be done through the use of @template. Check out Ryan Bates'' RailsCast on the subject. http://railscasts.com/episodes/132-helpers-outside-views -- Posted via http://www.ruby-forum.com/.