Skip to content

Commit

Permalink
Remove a hack that was moved to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Aug 3, 2010
1 parent 9c96c32 commit 2906830
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion rails_upgrade.rb
Expand Up @@ -56,7 +56,6 @@ def require_bundler
require "rails/all"
require "active_support/all"

require "rails_upgrade/action_controller"
require "rails_upgrade/action_view"

# This is needed because Rails 3 requires development.rb, while Rails 2.3
Expand Down
7 changes: 0 additions & 7 deletions rails_upgrade/action_view.rb
@@ -1,6 +1,5 @@
require "action_view"
require "action_view/base"
require "active_support/all"

module ActiveSupport
remove_const :SafeBuffer
Expand All @@ -13,12 +12,6 @@ class SafeBuffer < String

module ActionView
class Base
alias old_initialize initialize
def initialize(*args)
old_initialize(*args)
@controller = @_controller
end

# change the default behavior for tag and content_tag to not escape
module DeactivateEscape
def tag(name, options = nil, open = false, escape = false)
Expand Down

0 comments on commit 2906830

Please sign in to comment.