RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: adamherms
In my create.js.erb, I have this:
$('.lkuptbody').append('<%= j render(@lookup) %>');
When I try to create a new lookup I get an error. The error says "Missing partial lookups/lookup." Didn't Ryan say that render is coming from the controller? Why is it looking for the partial instead?
In my create.js.erb, I have this:
$('.lkuptbody').append('<%= j render(@lookup) %>');
When I try to create a new lookup I get an error. The error says "Missing partial lookups/lookup." Didn't Ryan say that render is coming from the controller? Why is it looking for the partial instead?