i have one layout file for all controllers. I would like to have news
list on each page. So, i put <%= render_component :controller => “news”,
:action => “list” %> , to my layout file. But this doesn’t work at all.
I get error "Application could not be started… ".
If I put render_component to some view file say
“views/static/index.rhtml”, then it works.
How can it be ? Do I miss something? I’m newby to rails and ruby :), but
I like it much.