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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue