I have a couple different partials for members, to which each have names
that somewhat describe what the partial is:
<%= render :partial => “admin/members/member_pic”, :collection =>
Which shows the members pic along with their details.
I don’t like the way that to make reference to a single member within
the @members collection inside the partial I have to use the partial
name, ex member_pic.full_name. I have other cases where it can be
I figure there must be a way around this, since this Rails :), but I
haven’t been able to find out how.
…if you are just rendering a single object you could probably pass it
in through the locals, but there must be a better way.