Answer the question
In order to leave comments, you need to log in
What could be the rendering error in rails?
Internet shop. After including the cart rendering <%= render @cart %> in the application layout (application.html.erb), some pages of the site are not rendered and an error is displayed: "' ArgumentError 'nil' is not an ActiveModel-compatible object. It must implement :to_partial_path . "
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question