Posted on Thu Jun 26 19:42:16 +0900 2008 by nabeken
まずは 1.2 から 2.0 へ乗り換えないといけない。変更点を Git で追うことにする。文章探すのはちょっと骨がおれる。
# git clone git://github.com/rails/rails.git
# cd rails
# git log v1.2.3..v1.2.4 --pretty=full
ひたすら deprec で grep していく。(動詞と名詞をごっちゃにするため)
- 3acd2bd7210dd1164a8f07cd4667032d5d5a392a
- 9c0e4de88b92ace4ab6a156f631eecfc83770e85
- Deprecate pagination for Rails 1.2.4. Install the classic_pagination plugin for forward compatibility, or move to the superior will_paginate plugin. References #8157.
- pagination は 2.0 以降、プラグインとして提供される。
- これまでの pagination は classic_pagination として提供される。
- script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination
- 以後は、will_paginate が同梱される。
このあたりの更新は上で警告とされていたものが実際に削除されたもの。
- 3d67860cae0898b248381075d98736ff77d671dd
- Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial [rick]
- git show 3d67860cae0898b248381075d98736ff77d671dd 参照
- 7495b5ca753cf7448761fe2c393bdf441a7d5928
- Deprecation: remove deprecated threaded_connections methods. Use allow_concurrency instead.
- 3a696dd290f4cc6bd560c0b5a8d2a4e33afa178c
- Deprecation: remove deprecated :mday option from Time, Date, and DateTime#change
- e6941149abbee39dbbe9898b0dc45e95046f7a70
- Deprecation: removed Reloadable
- 46f217b2988a03c977d074565a7d3ac17c789751
- Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb
- f7b0bc9ea3d2c729c9d0fbe07c2dbe65e8f6ff5c
- Removed deprecated ActionController::Base.cookie (use ActionController#Base.cookies[]= instead)
- d66c9cba55c434c2248864153ce50792fe7e077d
- Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension
- b7c565dc626dda5cdd8ef041edc27fec08ac541b
- Removed deprecated ActionController::Base#expire_matched_fragments (just call expire_fragment with a regular expression)
- 89b7630627b2e4c16b499273bc95b9fb40c7ed0a
- Removed the deprecated ActionController#Base.template_root/= methods (use ActionController#Base.view_paths/= instead)
- 872c5f4380ca348ff9ed19963e827289fb831fdf
- 557e19346ad144deecd7d76a8a4e4cec22a6597e
- Prefix nested resource named routes with their action name, e.g. new_group_user_path(@group) instead of group_new_user_path(@group). The old nested action named route is deprecated in Rails 1.2.4. Closes #855 8.
- 95c9ece59ab6926272a7fb6d5907ca58a84b39f7
- Remove deprecated Hash#create_from_xml. Use Hash#from_xml.
- b94f8e1d296c372e192cf0f4b9cc94dba9deff12
- Remove deprecated AcriveRecord::Base.quote methods, replaced by quote_value so quote can be used as an attribute name.
- 7858a32e1b2e5a64b0ef774530f0d80a588ed8f3
- Remove deprecated find_first and find_all.
- 800b899f9685a12e0e255e29369eac36e2985d28
- Remove deprecated push_with_attributes.
- 43c6d7ee955e1dd55d76c49f5d93f2fcc4540670
- Deprecation: remove pagination. Install the classic_pagination plugin for forward compatibility, or move to the superior will_paginate plugin.
- c769ad85336713b7e5bdadd57d92a007783f8208
- Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base #url_for
- 4ef9ad8653d60295015179f1d366e2d128c53e02
- Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server.
- 2632664f6459b387f64ba473712af049e543beb4
- Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows.
- f87db851c680164b6474d783d5f29b6cb4c013c0
- 1def3f0073d94564ab46a02a6c567a6c091a4e96
- Deprecation: remove deprecated update_element_function, start_form_tag, and end_form_tag. Use RJS and form_tag instead.
- 2823a56f14edac7e9012484d375f23c89405d725
- precation: remove deprecated human_size helper alias. Use number_to_human_size instead.
- dfc1285aad47d33db1004d8e604c093f774f8c37
- Deprecation: remove deprecated link_to_image and link_image_to methods. Use link_to(image_path(...), url).
- d20b943551898ea09f77e95d3dacbcf4c0e325b8
- Deprecation: privatize deprecated render_partial and render_partial_collection methods.(Use render :partial instead.)
- da87839c895121b41ab9543c156439638df5b587
- Deprecation: remove toplevel components directory and uses_component_template_root.
- e1056530665d5c8eed2c325157fbb88553eb2678
- Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [ChadFowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
- 8f614a80e725228c0cc0c03fd731c6cbad0ffcb7
- Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+
- 2794f4164fcdba2cfc704851918c6c869215c045
- Dropped the idea of automatically routing :format for the vanilla routes -- that will be a treat formap.resources. Deprecated the name route root as it'll be used as a shortcut for map.connect '' in Rails2.0 (Rails 1.2). Added map.root as an alias for map.connect '' (Rails 2.0)
- e52e803a5577489022a752827f37dd2ab56a2ac9
- Deprecate JavaScriptHelper#update_element_function, which is superseeded by RJS
- a8bb66ace849ecd2516a4ff3488eb339093b8774
- Deprecate expire_matched_fragments. Use expire_fragment instead.
- 98a9b6521886009187afd324e0cdad64902e0e97
- Removed deprecated end_form_tag helper.
まだ続くかも。
更新履歴
- 初版公開 (Thu, 26 Jun 2008 19:42:16 +0900)
- 2.0.0 の変更点について言及 (Thu, 26 Jun 2008 19:39:21 +0900)
- 更新記録出力をオンにした (Thu, 26 Jun 2008 19:37:12 +0900)
- 段落とリンクを修正 (Thu, 26 Jun 2008 19:36:53 +0900)
- Add github links (Thu, 26 Jun 2008 19:35:36 +0900)
- 2.0.0 まで完成 (Thu, 26 Jun 2008 19:17:14 +0900)
- rails-1 (Thu, 26 Jun 2008 19:17:14 +0900)