Update railties version, refs #1376