Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 9195

Show
Ignore:
Timestamp:
04/01/08 07:39:14 (3 months ago)
Author:
bitsweat
Message:

Ruby 1.9 compat: toplevel AS reference within BasicObject

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_view/helpers/prototype_helper.rb

    r8598 r9195  
    12051205        if block 
    12061206          function_chain[-1] += ", function(array) {" 
    1207           yield ActiveSupport::JSON::Variable.new('array') 
     1207          yield ::ActiveSupport::JSON::Variable.new('array') 
    12081208          add_return_statement! 
    12091209          @generator << '});'