Topic: Has inline javascript been disabled?

I have upgraded to RoR 3.2.2 and my inline (i.e., in the form) javascript no longer works.

I would be glad to place it in a file, but I can't find any explanation on how to put values into javascript variables when the js is read from a file.
inline, I add to the code:
var my_period = <%= @settings.my_period %>
But when read from a file the Ruby isn't executed, leaving me with no value in my variable.

Anyway, how do I get my inline javascript to be acceptable to RoR 3.2.2?

Thanks --Fred