Fix Rails deprecation warnings

Seeing a crap-ton of deprecation warnings when running tests is an easy way to keep me from committing anything meaningful to a project, personally.

So I fixed them.

Shouldn't be anything crazy.