October 15th, 2007
1.2.4 到 1.2.5 的路也太短了一點…
今天又看到 Rails 1.2.5 釋出的消息,主要還是修正了一些安全性的問題:
- acts_as_list 修正移除資料時,排列位置不正確的問題。
- 在
has_many的 relation 中, owner 尚未儲存就呼叫create的作法將被視為 deprecation。比方說:post = Post.new post.comments.create
這樣的寫法會被警告是 deprecated。
- backport array and hash query parameters
in-place-editor的修正- 修正
boot.rb以認得RAILS_GEM_VERSION
要更新到 1.2.5,就把 config/environments.rb 裡的 RAILS_GEM_VERSION 設成 1.2.5,然後在 rails app 裡下 rake rails:update:configs 就可以了。
歷史上的今天
- 可以不要自動播放音樂嗎? - 2006
- 意外的發現 - 2006
文章分類:
標籤: 
