<pre><%= @extensions.inspect %></pre>
<% @extensions.each do |e| %>
<tr bgcolor="#ffffff">
<td><%= e.context %></td>
<td><%= e.exten %></td>
<td><%= e.priority %></td>
<td><%= e.app %></td>
<td><%= e.appdata %></td>
</tr>
<% end %>
# Above is in the view
def list
@extensions = Extension.order(:context, :exten, :priority)
render
end
# Above is in the controller
The result is an empty table, and "nil" showing on the @extensions.inspect line in the view. But if I dump the @extensions