Permalink
Browse files

fix AP warning; remove unused variable

  • Loading branch information...
1 parent fb6c661 commit f6fd38f1eaa94f0a3dfec53c66814b38ba7694e4 @vipulnsward vipulnsward committed Apr 9, 2013
@@ -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 f6fd38f

Please sign in to comment.