Loading…

How is direct different from render?

Redirect is used to issue the error message when the page is not found in the browser. This function tells the browser to issue a new request.

Render is used to make the content and it only works when the controller is being set up with the variables that require rendering.

Suggest An Answer

No suggestions avaliable!

Latest post from Ruby on rails interview questions

Ask Question