Fix for papertrail 3.0 and rails 3.2.x