change Dirty implementation to match Rails 4
use the loaded Rails' implementation of the method unless it applies to CPK
use Rails' version unless it applies to CPK