1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master

This commit is contained in:
Xavier Noria 2010-11-09 20:56:41 +01:00
parent 88a559d414
commit 41366cdec6
6 changed files with 49 additions and 2 deletions

View file

@ -2,6 +2,10 @@
* No changes
*Rails 3.0.2 (unreleased)*
* No changes
*Rails 3.0.1 (October 15, 2010)*
* No Changes, just a version bump.

View file

@ -1,7 +1,5 @@
*Rails 3.1.0 (unreleased)*
* The helper number_to_currency accepts a new :negative_format option to be able to configure how to render negative amounts. [Don Wilson]
* Added a convenience idiom to generate HTML5 data-* attributes in tag helpers from a :data hash of options:
tag("div", :data => {:name => 'Stephen', :city_state => %w(Chicago IL)})
@ -25,6 +23,10 @@
* Add Rack::Cache to the default stack. Create a Rails store that delegates to the Rails cache, so by default, whatever caching layer you are using will be used for HTTP caching. Note that Rack::Cache will be used if you use #expires_in, #fresh_when or #stale with :public => true. Otherwise, the caching rules will apply to the browser only. [Yehuda Katz, Carl Lerche]
*Rails 3.0.2 (unreleased)*
* The helper number_to_currency accepts a new :negative_format option to be able to configure how to render negative amounts. [Don Wilson]
*Rails 3.0.1 (October 15, 2010)*
* No Changes, just a version bump.

View file

@ -2,6 +2,10 @@
* No changes
*Rails 3.0.2 (unreleased)*
* No changes
*Rails 3.0.1 (October 15, 2010)*
* No Changes, just a version bump.

View file

@ -18,6 +18,35 @@
[Aaron Patterson]
*Rails 3.0.2 (unreleased)*
* reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino]
* except is now AR public API
Model.order('name').except(:order).order('salary')
generates:
SELECT * FROM models ORDER BY salary
[Santiago Pastorino]
* The following code:
Model.limit(10).scoping { Model.count }
now generates the following SQL:
SELECT COUNT(*) FROM models LIMIT 10
This may not return what you want. Instead, you may with to do something
like this:
Model.limit(10).scoping { Model.all.size }
[Aaron Patterson]
*Rails 3.0.1 (October 15, 2010)*
* Introduce a fix for CVE-2010-3993

View file

@ -2,6 +2,10 @@
* No changes
*Rails 3.0.2 (unreleased)*
* No changes
*Rails 3.0.1 (October 15, 2010)*
* No Changes, just a version bump.

View file

@ -4,6 +4,10 @@
* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]
*Rails 3.0.2 (unreleased)*
* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]
*Rails 3.0.1 (October 15, 2010)*
* No Changes, just a version bump.