Home »
MCQs »
Ruby on Rails MCQs
Which of the following statement is True? (Ruby on Rails Q.26)
26. Which of the following statement is True?
- Statement 1: redirect_to will trigger a new request from the browser.
- Statement 2: redirect_to will render the supplied view for the current request.
Answer: A) Statement 1: redirect_to will trigger a new request from the browser.
Explanation:
Statement 1 is correct i.e., redirect_to will trigger a new request from the browser.