Update for Rails 4.0+
Release 0.4.0