i struggling understand following piece of line. partials inside views folder.
<span>owner: <%= h(playlist_in_list.user.email)%> </span> particularly following line
h(playlist_in_list.user.email) how can trace above line of code?
the partial passed local variable named playlist_in_list.
playlist_in_list associated user
user has method called email
my advice: partial called.
concerning h, it's html escape result.
Comments
Post a Comment