łączyć z
link_to "Profile", @profile
# => <a href="/profiles/1">Profile</a>
Lo Rednib
link_to "Profile", @profile
# => <a href="/profiles/1">Profile</a>
<%= link_to "Profile", profile_path(@profile) %>
# => <a href="/profiles/1">Profile</a>