# Documentation for simply\_helpful features rolled into rails 2

**URL:** <https://www.ruby-forum.com/t/documentation-for-simply-helpful-features-rolled-into-rails-2/126346>\
**Category:** Rails\
**Created:** [January 17, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/documentation-for-simply-helpful-features-rolled-into-rails-2/126346 "2008-01-17T16:27:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ant](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@ant](https://www.ruby-forum.com/u/ant)\
**Post date:** [January 17, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/documentation-for-simply-helpful-features-rolled-into-rails-2/126346/1 "2008-01-17T16:27:59Z")

</div>

Hi All,

In Ryan B. screencast episode 80 ([Ruby on Rails Screencasts - RailsCasts](http://railscasts.com/episodes/)  
80) on simplifying views in rails he mentions that

\<% render :partial =\>‘product’ , :collection =\> @products %\> and \<%  
render :partial =\>‘product’ , :object =\> @product %\>

can now be written as

\<%= render :partial =\> @products %\> and \<%= render :partial =\>  
@product %\> respectively.

He also says that \<%form\_for :product, :url → products\_path do |f|  
%\> and \<%form\_for :product, :url =\>product\_path(@product), :html =\>  
{:method =\> ‘put’} do |f| %\>

can now both be written

\<% form\_for @product do |f| %\>

Can anyone tell me where this is documented since the api only  
mentions the old ways as far as I can see unless I am looking in the  
wrong place.

Many thanks

Anthony
