Rails 4.

Fixes #15.