[Rails 3.1] weird jQuery behavior when pre-compiling assets

I am using the jquery-ui-1.8.16.custom.min.js lib... to toggle my
sidebar-views

I wonder whether you have an error in the script that behaves
differently when compiled. First run with firebug in firefox with it
not compiled and see if there are any errors. Then repeat with it
compiled.

Colin

Use jquery-rails gem this will solve your issue and also maintain your update related to jquery

Thanks & Regards
Ankit Varshney