upgrading to ruby 2.1, rails 4.0, bootstrap 3.0

Post on 08-May-2015

1.003 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

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

TRANSCRIPT

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

top related