Consider the following information for a User view:
user_path named route with value "/users/"
@user = 1
Now, consider the following code in the HTML erb template:
<%= link_to user_path(@user), "Angel" %>
What will be the HTML output of this code?
Correct Answer: a href='/users/1'>Angel</a
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby On Rails MCQ Questions