Action View

Table A-7. Deprecated view features
Rails 1.1.6 Rails 1.2
content_for(' name_of_content_block ') yield :name_of_content_block
:human_size :number_to_human_size
link_image_to Use image_tag within a link_to method
:post as a link modifier Use :method => "post" instead
render_partial Use render :partial
render_partial_collection render :partial, :collection
<%= start_form_tag :action=>'list' %> ... <%= end_form_tag %> Use new block form: <% form_tag :action=>'list' do %> ... <% end %>
<%= form_remote_tag :update=>'list', :url=>{:action=>'add'} %> ... <%= end_form_tag %> Use new block form: <% form_remote_tag :update=>'list', :url=>{:action=>'add'} do %> ... <% end %>