Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Ruby 1.9 And Rails 3.0

8.600 visualizaciones

Publicado el

Publicado en: Tecnología
  • Inicia sesión para ver los comentarios

Ruby 1.9 And Rails 3.0

  1. 1. Ruby 1.9 & Rails 3 new stuff!
  2. 2. Ruby 1.9
  3. 3. Ruby 1.9
  4. 4. Ruby 1.9.1 Stable
  5. 5. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  6. 6. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  7. 7. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  8. 8. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  9. 9. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  10. 10. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  11. 11. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  12. 12. Installation wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz tar zxvf ruby-1.9.1-p243.tar.gz cd ruby-1.9.1-p243 ./configure --program-suffix=1.9 make sudo make install
  13. 13. Changed stuff
  14. 14. case
  15. 15. String#[]
  16. 16. Hashes are sorted!
  17. 17. Block variables
  18. 18. New stuff! Jay!
  19. 19. flexible parameters
  20. 20. flexible parameters (2)
  21. 21. new hash notation
  22. 22. Symbol#to_proc
  23. 23. Enumerator
  24. 24. lambda - shorthand
  25. 25. lambda - calling
  26. 26. Object#tap
  27. 27. Rails 3
  28. 28. Merb
  29. 29. Ruby 1.8.7 or 1.9.1
  30. 30. ORM Agnostic
  31. 31. ActionORM • initialize • new_record? • errors • valid? • to_model
  32. 32. Rack Middleware
  33. 33. controller actions
  34. 34. Session
  35. 35. Param parsing
  36. 36. Rescuing
  37. 37. Router
  38. 38. Multiple apps
  39. 39. Controller Merb Router Rails Request Router Router Sinatra app Rack app
  40. 40. Plugin API
  41. 41. Notifications (used to be “Orchestra”)
  42. 42. Hook into events
  43. 43. non-blocking
  44. 44. Javascript
  45. 45. non-obtrusive
  46. 46. Library agnostic
  47. 47. rails.prototype.js
  48. 48. rails.jquery.js
  49. 49. rails.moo.js
  50. 50. rails.you?.js
  51. 51. ActionController::Responder
  52. 52. code
  53. 53. Custom Responders
  54. 54. Public API Changes
  55. 55. Rails 2.3 == Rails 3.0
  56. 56. Questions?

×