Skip to content

Instantly share code, notes, and snippets.

View adamjgrant's full-sized avatar

Adam Grant adamjgrant

  • Software Engineer
View GitHub Profile
##### ERROR
undefined method `question_path' for #<#<Class:0x007fa183901da8>:0x007fa1838e2ca0>
##### VIEW
<% @questions.each do |question| %>
<tr>
<td><a href="/surveys/<%= @survey.id %>/questions/<%= question.id %>/"><%= question.question %></td>
<td><%= question.qtype %></td>