Coder Catchup

Episode 158 - Top 5 Migration Tips After Upgrading to Rails 5.2

Informações:

Synopsis

Rails 5.2.0 RC2 Notes - http://weblog.rubyonrails.org/2018/3/20/Rails-5-2-RC2/ Rails 5.2.0 Release Notes - http://edgeguides.rubyonrails.org/5_2_release_notes.html Active Storage With the new Active Storage framework in Rails 5.2, we’ve solved for the modern approach of uploading files straight to the cloud. Out of the box, there’s support for Amazon’s S3, Google’s Cloud Storage, and Microsoft Azure Cloud File Storage. If you’re dealing with images, you can create variants on the fly. If you’re dealing with videos or PDFs, you can create previews on the fly. And regardless of the type, you can analyze uploads for metadata extraction asynchronously. Redis Cache Store Redis for general partial, fragment, and other Rails caching jobs. The Redis cache store takes advantage of Redis support for automatic eviction when it reaches max memory, allowing it to behave much like a Memcached cache server. Deployment note: Redis doesn't expire keys by default, so take care to use a dedicated Redis cache server. Don't fill