rstt/ArvoresBrasil — Issue #3: Why has_many dont work ?
Author: rstt
Created: 2011-10-30 15:08:41+00:00
State: open

views/admin/arvores/show.html.erb

<% @arvore.populares.each do |popular| %>
<%= popular.nome %>
<% end %>

Error:

Showing /ror/arvores_brasil/app/views/admin/arvores/show.html.erb where line #9 raised:

uninitialized constant Arvore::NomesPopular

It`s a inflection error ?