Caffee Script has become the default in rails 3.1
The syntax is pretty interesting and for those of you who do not like the brackets it is going to be a gogo.
You only need to make sure that your indenting is correct
This is how you define a simple function
my_lovely_function = ->
alert "hello"
This is how you define a simple function with a variable
my_lovely_function = (variable) ->
alert "hello"
And this is how you call the function
my_lovely_function variable
As you can see most of the brackets are gone. You can still use jQuery in Caffee Script. jQuery is part of Rails 3.1 as well so we are all good