ActionController::UrlGenerationError in Valuations#new
I've read other SO articles relating to UrlGenerationError 's which seem to point to singularization or plurization of a word, but I don't think that's the issue here. It works when I remove from valuations/_form.html.erb: <%= render "comments/comments" %> <%= render "comments/form" %> Submit the _form with :name & :tag_list , readd <%= render "comments/comments" %> <%= render "comments/form" %> and then refresh. What's the deal when nil? routes resources :valuations do resources :comments end comments_controller class CommentsController < ApplicationController before_action :load_commentable