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
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
Technically helpers for for the view, but it can be done through the use
of @template.
Check out Ryan B.’ RailsCast on the subject.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs