Upgrading to Rails 4 - Fred Guest

Upgrading to Rails 4 - Fred Guest

B044a0f039af800f4df09bf3b2465f18?s=128

Las Vegas Ruby Group

July 17, 2013
Tweet

Transcript

  1. Upgrading to Rails 4 Wednesday, July 17, 13

  2. update configs rake rails:update Wednesday, July 17, 13

  3. add these to your gem file *temporarily (*maybe) Wednesday, July

    17, 13
  4. if you want that, use the gem no more Protected

    Attributes Wednesday, July 17, 13
  5. use Strong Parameters Wednesday, July 17, 13

  6. no more Rails Observers use ActiveRecord Callbacks Wednesday, July 17,

    13
  7. Active Resource (ARes) connects business objects and Representational State Transfer

    (REST) web services. It implements object-relational mapping for REST web services to provide transparent proxying capabilities between a client (ActiveResource) and a RESTful service (which is provided by Simply RESTful routing in ActionController::Resources) no more Active Resource if you want that, use the gem Wednesday, July 17, 13
  8. no more vendor/plugins shit in here will not be loaded

    Wednesday, July 17, 13
  9. no more assets group this becomes this Wednesday, July 17,

    13
  10. routes are more explicit this becomes this Wednesday, July 17,

    13
  11. encrypted cookies /config/initializers/secret_token.rb this becomes this (rake secret) Wednesday, July

    17, 13
  12. scopes need callable objects this becomes this Wednesday, July 17,

    13
  13. turbolinks this becomes this Wednesday, July 17, 13

  14. heroku Wednesday, July 17, 13

  15. http://www.ready4rails4.net/ Wednesday, July 17, 13