Add Rails 4.x support