nfelsen (owner)

Revisions

gist: 5955 Download_button fork
public
Public Clone URL: git://gist.github.com/5955.git
Text only
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 Showing forums/_topic.html.erb where line #10 raised:
 
Mysql::Error: Unknown column 'sections.section_id' in 'where clause': SELECT `forums`.* FROM `forums` INNER JOIN sections ON forums.id = sections.forum_id WHERE ((`sections`.section_id = 6))
 
Extracted source (around line #10):
 
7: <p>
8: <%- n = topic.posts.count -%>
9: <%= link_to h(topic.name),
10: forum_path(topic.forum, topic, :posts => n),
11: :class => "show-follow" %>
12: <span class="meta">(<%= pluralize(n, "post") %>)</span>
13: </p>
 
Trace of template inclusion: /forums/show.html.erb
 
RAILS_ROOT: /home/nat/Project/neru/insoshi/insoshi