Closed mattbrictson closed 8 years ago
The ActiveSupport try method works differently in different versions of Rails. In some versions it checks respond_to?; others do not. It is safer (and more compatible) to explicitly use respond_to? instead.
try
respond_to?
Fixes #71
@nnc Can you test my branch and verify it fixes the Rails 3.2 problem you're having? Thanks!
@mattbrictson works like a charm. Thanks!
The ActiveSupport
try
method works differently in different versions of Rails. In some versions it checksrespond_to?
; others do not. It is safer (and more compatible) to explicitly userespond_to?
instead.Fixes #71