remote_function 是不是已经过时了?
gem 'prototype-rails','3.2.1' gem 'prototype_legacy_helper', '0.0.0', :git => 'git://github.com/rails/prototype_legacy_helper.git'