mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
updates to 3.2 release notes
This commit is contained in:
parent
78372b6cbb
commit
52303019cb
1 changed files with 8 additions and 1 deletions
|
@ -67,7 +67,6 @@ When running a multi-user, multi-account application, it's a great help to be ab
|
|||
|
||||
h3. Railties
|
||||
|
||||
* Rails::Plugin is deprecated and will be removed in Rails 4.0. Instead of adding plugins to vendor/plugins use gems or bundler with path or git dependencies.
|
||||
|
||||
* Speed up development by only reloading classes if dependencies files changed. This can be turned off by setting <tt>config.reload_classes_only_on_change</tt> to false.
|
||||
|
||||
|
@ -107,6 +106,10 @@ will create indexes for +title+ and +author+ with the latter being an unique ind
|
|||
|
||||
* Remove old <tt>config.paths.app.controller</tt> API in favor of <tt>config.paths["app/controller"]</tt>.
|
||||
|
||||
h4. Deprecations
|
||||
|
||||
* +Rails::Plugin+ is deprecated and will be removed in Rails 4.0. Instead of adding plugins to +vendor/plugins+ use gems or bundler with path or git dependencies.
|
||||
|
||||
h3. Action Pack
|
||||
|
||||
h4. Action Controller
|
||||
|
@ -227,6 +230,8 @@ content_tag_for(:li, @items) do |item|
|
|||
end
|
||||
</ruby>
|
||||
|
||||
* Added +font_path+ helper method that computes the path to a font asset in <tt>public/fonts</tt>.
|
||||
|
||||
h5. Deprecations
|
||||
|
||||
* Passing formats or handlers to render :template and friends like <tt>render :template => "foo.html.erb"</tt> is deprecated. Instead, you can provide :handlers and :formats directly as an options: <tt> render :template => "foo", :formats => [:html, :js], :handlers => :erb</tt>.
|
||||
|
@ -416,6 +421,8 @@ Event.where(:created_at => Time.now.all_day)
|
|||
|
||||
h4. Deprecations
|
||||
|
||||
* +ActiveSupport::Base64+ is deprecated in favor of <tt>::Base64</tt>.
|
||||
|
||||
* Deprecated <tt>ActiveSupport::Memoizable</tt> in favor of Ruby memoization pattern.
|
||||
|
||||
* <tt>Module#synchronize</tt> is deprecated with no replacement. Please use monitor from ruby's standard library.
|
||||
|
|
Loading…
Reference in a new issue