Permalink
Browse files

Merge pull request #10147 from vipulnsward/fix_AP_live_warning

fix AP warning; remove unused variable
  • Loading branch information...
carlosantoniodasilva committed Apr 9, 2013
2 parents fb6c661 + f6fd38f commit 817e8fad5a84569729ae65fbd713274678c68d8f
@@ -34,6 +34,7 @@ module ActionController
module Live
class Buffer < ActionDispatch::Response::Buffer #:nodoc:
def initialize(response)
+ @error_callback = nil
super(response, SizedQueue.new(10))
end
@@ -373,7 +373,7 @@ namespace :railties do
puts "NOTE: Migration #{migration.basename} from #{name} has been skipped. Migration with the same name already exists."
end
- on_copy = Proc.new do |name, migration, old_path|
+ on_copy = Proc.new do |name, migration|
puts "Copied migration #{migration.basename} from #{name}"
end

0 comments on commit 817e8fa

Please sign in to comment.