support skipping DontCall and Model constants in ruby 1.9+