mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix AP warning; remove unused variable
This commit is contained in:
parent
fb6c661fe9
commit
f6fd38f1ea
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ module ActionController
|
||||||
module Live
|
module Live
|
||||||
class Buffer < ActionDispatch::Response::Buffer #:nodoc:
|
class Buffer < ActionDispatch::Response::Buffer #:nodoc:
|
||||||
def initialize(response)
|
def initialize(response)
|
||||||
|
@error_callback = nil
|
||||||
super(response, SizedQueue.new(10))
|
super(response, SizedQueue.new(10))
|
||||||
end
|
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."
|
puts "NOTE: Migration #{migration.basename} from #{name} has been skipped. Migration with the same name already exists."
|
||||||
end
|
end
|
||||||
|
|
||||||
on_copy = Proc.new do |name, migration, old_path|
|
on_copy = Proc.new do |name, migration|
|
||||||
puts "Copied migration #{migration.basename} from #{name}"
|
puts "Copied migration #{migration.basename} from #{name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue