to use Active with scaffold with JRails you have to use a different JQUERY_VAR than $
Iny our controllers
set
ActionView::Helpers::PrototypeHelper::JQUERY_VAR = ‘jQuery’
in your layout load both prototype and jquery
<= javascript_include_tag ‘prototype’, ‘effects’, ‘jquery’ >
Lastly, make sure to tell jQuery to not conflict with Prototype over $ in your Javascript:
jQuery.noConflict();
See a complete example at http://crnixon.org/log/2009/05/14/today.html.