Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A few slides about the migration from Rails 4 t...

A few slides about the migration from Rails 4 to Rails 5

based on github.com/netguru/reminders app

Adam Nowak

July 06, 2016
Tweet

More Decks by Adam Nowak

Other Decks in Programming

Transcript

  1. my slides are not about the features - you have

    to check them out on your own!
  2. Gemfile gem "rails", "~> 4" gem "coffee-rails" gem "bootstrap-datepicker-rails" gem

    "decent_exposure" gem "draper" gem "jquery-rails", "4.0.4" # version 4.0.5 breaks jquery-datatables
  3. Step 2 - updating gems along the way bundle update

    rails railties sass-rails coffee-rails slim-rails
  4. Step 3 - strict dependencies gem "jquery-rails", "4.0.4" # version

    4.0.5 breaks jquery-datatables gem "jquery-rails"
  5. Step 2 - updating gems along the way bundle update

    rails railties coffee- rails slim-rails
  6. Step 2 - updating gems along the way bundle update

    rails railties coffee- rails slim-rails rspec-rails
  7. Step 2 - updating gems along the way bundle update

    rails railties coffee- rails slim-rails rspec-rails
  8. Step 6 - rails-controller- testing 245 examples, 3 failures NoMethodError:

    assert_template has been extracted to a gem. To continue using it, add `gem 'rails-controller-testing'` to your Gemfile.
  9. YES

  10. QL