I have a application that it use view/layout/main.rhtml, in
this file I have:
<%= render_component :controller => ‘car’, :action =>‘index’%>
But there is one problem, it display this problem: undefined method
`render_component’ for # ActionView::Base:0x4525b48
How can I resolve this problem?
Sachin S. Kewale