update Rails to 4.0.12
Merge pull request #2229 from marutosi/finn/rails4.0.12

update Rails to 4.0.12