Difference between render :template and render :partial?

Hi,

I am not getting the exact difference between render partial and render
template.
Is there any difference or they are equal?

Thanks & Regards,
Tushar

Tushar Gandhi wrote:

Hi,

I am not getting the exact difference between render partial and render
template.
Is there any difference or they are equal?

Thanks & Regards,
Tushar

http://wiki.rubyonrails.org/rails/pages/Partials

Dharmdip Rathod wrote:

Tushar Gandhi wrote:

Hi,

I am not getting the exact difference between render partial and render
template.
Is there any difference or they are equal?

Thanks & Regards,
Tushar

http://wiki.rubyonrails.org/rails/pages/Partials

http://wiki.rubyonrails.com/rails/pages/Templates