Restored older Ruby/Rails support. [ci skip]