On 25 January 2012 22:40, ROR-new wrote:
> I want to call a method that i have implemented in the controller and
> i don't know how to call it from the index.html.erb file.
Can you explain what sort of function this is? What is it doing? The
answer to the best way to solve the problem depends o
If you have utility methods you wish to call from views use the Rails
helper convention and put them in modules under app/helpers - you can
use the rails command line script to help you generate them if need
be.
Max
On 1/25/12, ROR-new wrote:
> I want to call a method that i have implemented in
I want to call a method that i have implemented in the controller and
i don't know how to call it from the index.html.erb file.
Please help.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-
3 matches
Mail list logo