enlace a
<%= link_to "Profile", profile_path(@profile) %>
# => <a href="/profiles/1">Profile</a>
Tung Thanh
<%= link_to "Profile", profile_path(@profile) %>
# => <a href="/profiles/1">Profile</a>
link_to "Profile", @profile
# => <a href="/profiles/1">Profile</a>