ismasan/hash_mapper — pull request #5 by techfolio (2012-06-13 06:17:53+00:00)
Title: Remove deprecated ActiveSupport dependencies

Hi Ismael,

I recently pushed one of our older applications from Rails 3.0 to Rails 3.2. This upgrade lead to a change from ruby 1.8.7 to 1.9.3 also.

While running the tests I discovered, the application wouldn't even start because of some calls to deprecated and removed AS helpers.

Finally, I could spot the source of the error in your gem and made a quickfix. As far as I can tell, the application runs exactly as it should, also your specs are all green.

I suppose that everything should work fine with this little patch.

I did not have the time to test the changes against older Rails/ruby versions since I have to move on with this particular project.

I'd love to hear some feedback from you, even if you think my patch is useless in this form and you have a better solution for this.

Kind regards
Jakob Holderbaum