Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2450 from guilleiguaran/activesupport-gzip-1.8

Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416
  • Loading branch information...
commit 7ba95bf7471a03a6c5db7bd9799cd660e57596f9 2 parents 81eb5b3 + aed9917
Santiago Pastorino spastorino authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  activesupport/lib/active_support/gzip.rb
1  activesupport/lib/active_support/gzip.rb
View
@@ -1,5 +1,6 @@
require 'zlib'
require 'stringio'
+require 'active_support/core_ext/string/encoding'
module ActiveSupport
# A convenient wrapper for the zlib standard library that allows compression/decompression of strings with gzip.
Please sign in to comment.
Something went wrong with that request. Please try again.