Skip to content

Instantly share code, notes, and snippets.

@kamal
Created August 6, 2016 01:58
Show Gist options
  • Save kamal/67e7c87d03ea2fbe92fdb3c718124782 to your computer and use it in GitHub Desktop.
Save kamal/67e7c87d03ea2fbe92fdb3c718124782 to your computer and use it in GitHub Desktop.
Rails 5 upgrade commit messages
* makes bundle update succeed
* fixes config.serve_static_files deprecation
* fixes config.static_cache_control deprecation
* fixes raise_in_transactional_callbacks deprecation
* replaces config.assets.precompile with manifest.js
* fixes middleware builder deprecation
* upgrade will_paginate to fix i18n_path error (rails/rails#21228)
* fixes rails/test_unit/sub_test_task removal
* changes after running migration post-rails5 (ar_internal_metadata)
* fixes devise deprecation
* removes usage of ActionController::TestResponse which has been removed
* replaces privatized method ActiveSupport::TimeZone#zones_map with a public API
* fixes method signature for ActionDispatch::IntegrationTest
* fixes forcing an association to reload by passing in true
* works around stricter params handling in rails 5
* fixes modifying a read-only record
* upgrades capybara that no longer uses Rack::Utils#normalize_params
* removes deprecated errors.set and errors.get
* fixes devise_parameter_sanitizer.for deprecation
* fixes params manipulation
* disables the after_commit callback from polluting the spec
* fixes scss filename deprecation
* fixes deprecated assigns usage in spec
* renders csv instead of render :text which is deprecated
* fixes have_selector with hidden fields
* fixes deprecated way passing in arguments to String#parameterize
* fixes callback not defined due to a conditional option
* works around a strange bug where grape rescue_from doesn't register other types of exceptions
* configures sidekiq as the active_job adapter
* replaces AD::Http::UploadedFile with fixture_file_upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment