Click here to load reader
Upload
bryanbibat
View
1.003
Download
2
Embed Size (px)
DESCRIPTION
Supporting slides for my talk on how to Upgrade from Ruby 1.9.3 to Ruby 2.1, Rails 3.2 to 4.0, Bootstrap 2.3 to 3.0
Citation preview
Upgrading
Bryan Bibat | bryanbibat.net@bry_bibat | speakerdeck.com/bryanbibat
Ruby 2.1
.ruby-version
Ruby 2.1 - RVM
.ruby-gemset
https://rvm.io/workflow/projects#project-file-ruby-version
LinksRails 3.2 to 4.0
http://guides.rubyonrails.org/upgrading_ruby_on_rails.html
Bootstrap 2.x to 3.0 http://getbootstrap.com/getting-started/#migration
Apps upgradedhttps://github.com/devcon-ph/devcon
https://github.com/phrug/pinoyrb
Boring 1.5 hr 1080p video http://youtu.be/HZqqbJJhN2Y
Make sure you've got tests (LOL)
Rails 4.0
Gemfile + :assets groupConfig
Strong ParametersRoutes
Active Record ScopesDeprecated ActiveRecord Finders / Page Cache
Rails 4.0
binstubs
bundle config --delete bin rake rails:update:bin git add bin
Rails 4.0
Gems... :(
Bootstrap 3.0
grep | sedand
Firefox Responsive Design Modeare your friends
LinksRails 3.2 to 4.0
http://guides.rubyonrails.org/upgrading_ruby_on_rails.html
Bootstrap 2.x to 3.0 http://getbootstrap.com/getting-started/#migration
Apps upgradedhttps://github.com/devcon-ph/devcon
https://github.com/phrug/pinoyrb
Boring 1.5 hr 1080p video http://youtu.be/HZqqbJJhN2Y