If we change ActionView::Base.erb_variable, cache_fragment doesn't
work and some javascript functions also, because they are checking for
the existence of '_erbout' instead of the variable set in
erb_variable.
It's just a small patch, that fix javascript functions and send
erb_variable to Erb.new().
I also added the line below in fragment cache tests setup to assure
that they are working with any variable set:
I am curious to know why you need to change the value of
ActionView::Base.erb_variable ? I'm more inclined towards removing
that configuration option altogether.