Upgrade to rails 4
Merge pull request #9 from ryog/rails4

Upgrade to rails 4