Update to rails 4.0.1. Closes #106