Answers

Question and Answer:

  Home  Ruby Developer

⟩ Tell us what is the difference between redirect and render in Ruby on Rails?

☛ Redirect is a method that is used to issue the error message in case the page is not issued or found to the browser. It tells browser to process and issue a new request.

☛ Render is a method used to make the content. Render only works when the controller is being set up properly with the variables that require to be rendered.

 153 views

More Questions for you: