Использование прототипа (Rails 2.3)
page.select(".places").each do |element, index|
page.insert_html :bottom, element, :partial => 'contact', :locals => {:contact => @contact, :something => @something, :checked => false, :sale => @sale.item.to_s}
end
Использование jQuery (Rails 3)
$(".places").append("<%= escape_javascript render 'contact', :locals => {:contact => @contact, :something => @something, :checked => false, :sale => @sale.item.to_s} %>");