Removed incompatibility with active_support 4.x.

Only with ruby >= 1.9.3