Displaying 1 result from an estimated 1 matches for "_run_rhtml_news_index".
2006 Jun 09
0
Controller Modules Messed Me Up
...(around line #3):
1: <h1>Recent News</h1>
2:
3: <% for news in @news %>
4:
5: <h3><%= news.headline %></h3>
6:
RAILS_ROOT: /Users/Chad/Sites/xxx/public/../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/views/news/index.rhtml:3:in `_run_rhtml_news_index''
Request
Parameters: None
Show session dump
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
It appears to me that @news doesn''t contain anything according to the
error. Where is my problem in the code? This worked fine wh...