aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-06-08 15:04:26 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-06-08 15:07:52 -0700
commitd3078b540ed154b6ea245de40e8de8bba642cd02 (patch)
tree09ab8f39370638b648e0095247ddb23f0f2c2637 /actionpack/lib/action_view
parentc1fcabb3505dd1595142e394d2dca71d62acf77c (diff)
downloadrails-d3078b540ed154b6ea245de40e8de8bba642cd02.tar.gz
rails-d3078b540ed154b6ea245de40e8de8bba642cd02.tar.bz2
rails-d3078b540ed154b6ea245de40e8de8bba642cd02.zip
Explicitly qualify constants in BasicObjects
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb2
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