Upgrade Rails version

Fixes #37