Fix for new reflection implementation in Rails 4.1.2.
Version 2.7.1 release.