Upgrade to Rails 4
Merge pull request #43 from taea/upgrade_to_rails4

Upgrade to Rails 4.