diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-08 15:04:26 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-08 15:07:52 -0700 |
commit | d3078b540ed154b6ea245de40e8de8bba642cd02 (patch) | |
tree | 09ab8f39370638b648e0095247ddb23f0f2c2637 | |
parent | c1fcabb3505dd1595142e394d2dca71d62acf77c (diff) | |
download | rails-d3078b540ed154b6ea245de40e8de8bba642cd02.tar.gz rails-d3078b540ed154b6ea245de40e8de8bba642cd02.tar.bz2 rails-d3078b540ed154b6ea245de40e8de8bba642cd02.zip |
Explicitly qualify constants in BasicObjects
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 4c2fcb3bd0..624b537ad2 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -1176,7 +1176,7 @@ module ActionView class JavaScriptVariableProxy < JavaScriptProxy #:nodoc: def initialize(generator, variable) - @variable = ActiveSupport::JSON::Variable.new(variable) + @variable = ::ActiveSupport::JSON::Variable.new(variable) @empty = true # only record lines if we have to. gets rid of unnecessary linebreaks super(generator) end |