Upgraded Rails to 4.0.3

Fixes #636