Daily Archives for Friday, October 2007

Rails 1.2.5 : Release de seguridad y mantenimiento

829F3B4A-9226-456E-AFAD-4D4A3F73475E.jpgAcaban de anunciar el lanzamiento de una nueva versión de la rama 1.X que corrige algunos defectos y un problema de seguridad para los que usen JSON. Es recomendado instalársela sobre todo si utilizamos JSON.

Lista de cambios( en inglés):

  • acts_as_list: fixed an edge case where removing an item from the list then destroying the item leads to incorrect item positioning
  • deprecated calling .create on has_many associations with an unsaved owner (like post = Post.new; post.comments.create)
  • backport array and hash query parameters
  • fix in place editor’s setter action with non-string fields
  • updated config/boot.rb to correctly recognize RAILS_GEM_VERSION

Para actualizar , `gem install rails`, poner RAILS_GEM_VERSION a ‘1.2.5’ en config/environment.rb, y `rake rails:update:configs`.