load dirty tracking patch only for rails 4.2 to keep backwards compatibility