/views/category/_blah.html.erb /views/users/show.html.erb
Inside of show, I want to render the partial _blah but I am getting an error as it cant' find it.
try using
<%= render :partial => "category/blah" %>
inside your view.
(This is definitely good coding practice, as you'll find it in the "Rendering Partial Collections" page in the first Rails Guide.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With