Passing @object into a rails partial render

前端 未结 5 856
后悔当初
后悔当初 2020-12-31 01:41

I have a partial:

\'profiles/_show.html.erb\'

that contains code like

<%= @profile.fullname %>

I\'m trying to render

5条回答
提交回复
热议问题