Move delegation error constant to inside Module
Review railties changelog [ci skip]