Add basic Rails 4 support