Add compatibility info for rails4