Add Rails 4 beta support