tim-vandecasteele/grape-swagger — pull request #36 by jrhe (2013-04-03 23:43:44+00:00)
Title: Rails 4 fix

Overriding core extensions provided by rails such as try can create compatibility problems with new versions of rails.

Case in point, rails 4.0.0.beta1 and grape-swagger master. Grape swagger master was overriding try on object which resulted in a fixnum? message being sent to an object erroneously. Upgrading the definition of try to that included in activesupport 4.0.0.beta1 fixed this but I have also moved the method definitions to avoid further problems.