I am confused about the main difference(s) among link_to, redirect_to and render in Rails. anyone can please explain.
A link_to is used on a form within rails, and is a helper to create a link element within html. The other two are not used in forms, but rather are used in controllers.
You render a page if your controller method is linked to that page. E.g. calling 'new' should render the 'new item' page. They fulfil the request that has just been made.
redirect is used for exactly that - redirecting. For example, if you try accessing a page where you have to be logged in, you redirect the user to the login page. So, redirects basically spawn a new request.