aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-25 05:02:44 -0800
committerXavier Noria <fxn@hashref.com>2012-02-25 05:02:44 -0800
commit5196c075c096632a724504bca8d1cc457371f294 (patch)
treeb4fae630ce5140ffab1e753961267a845d4369a5 /activerecord
parent862e27fbbb31923c1e56b669914b24a3073674b4 (diff)
parent152a393d4fc06fa3e7f6c8203fd937d671189be2 (diff)
downloadrails-5196c075c096632a724504bca8d1cc457371f294.tar.gz
rails-5196c075c096632a724504bca8d1cc457371f294.tar.bz2
rails-5196c075c096632a724504bca8d1cc457371f294.zip
Merge pull request #4023 from pacoguzman/update-changelogs
Update changelogs with rails 3.0-stable branch info
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md88
1 files changed, 85 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index f69f803513..cea50aaa9d 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -134,8 +134,11 @@
* The threshold for auto EXPLAIN is ignored if there's no logger. *fxn*
+* Call `to_s` on the value passed to `table_name=`, in particular symbols
+ are supported (regression). *Sergey Nartimov*
+
* Fix possible race condition when two threads try to define attribute
- methods for the same class.
+ methods for the same class. *Jon Leighton*
## Rails 3.2.0 (January 20, 2012) ##
@@ -317,7 +320,34 @@
*Aaron Christy*
-## Rails 3.1.3 (November 20, 2011) ##
+ ## Rails 3.1.4 (unreleased) ##
+
+ * Fix a custom primary key regression *GH 3987*
+
+ *Jon Leighton*
+
+ * Perf fix (second try): don't load records for `has many :dependent =>
+ :delete_all` *GH 3672*
+
+ *Jon Leighton*
+
+ * Fix accessing `proxy_association` method from an association extension
+ where the calls are chained. *GH #3890*
+
+ (E.g. `post.comments.where(bla).my_proxy_method`)
+
+ *Jon Leighton*
+
+ * Perf fix: MySQL primary key lookup was still slow for very large
+ tables. *GH 3678*
+
+ *Kenny J*
+
+ * Perf fix: If a table has no primary key, don't repeatedly ask the database for it.
+
+ *Julius de Bruijn*
+
+### Rails 3.1.3 (November 20, 2011) ##
* Perf fix: If we're deleting all records in an association, don't add a IN(..) clause
to the query. *GH 3672*
@@ -330,7 +360,7 @@
*Christos Zisopoulos and Kenny J*
-## Rails 3.1.2 (November 18, 2011) ##
+### Rails 3.1.2 (November 18, 2011) ##
* Fix bug with PostgreSQLAdapter#indexes. When the search path has multiple schemas, spaces
were not being stripped from the schema names after the first.
@@ -749,6 +779,58 @@
*Aaron Patterson*
+## Rails 3.0.12 (unreleased) ##
+
+* No changes.
+
+
+## Rails 3.0.11 (November 18, 2011) ##
+
+* Exceptions from database adapters should not lose their backtrace.
+
+* Backport "ActiveRecord::Persistence#touch should not use default_scope" (GH #1519)
+
+* Psych errors with poor yaml formatting are proxied. Fixes GH #2645 and
+ GH #2731
+
+* Fix ActiveRecord#exists? when passsed a nil value
+
+
+## Rails 3.0.10 (August 16, 2011) ##
+
+* Magic encoding comment added to schema.rb files
+
+* schema.rb is written as UTF-8 by default.
+
+* Ensuring an established connection when running `rake db:schema:dump`
+
+* Association conditions will not clobber join conditions.
+
+* Destroying a record will destroy the HABTM record before destroying itself.
+ GH #402.
+
+* Make `ActiveRecord::Batches#find_each` to not return `self`.
+
+* Update `table_exists?` in PG to to always use current search_path or schema if explictly set.
+
+
+## Rails 3.0.9 (June 16, 2011) ##
+
+* No changes.
+
+
+## Rails 3.0.8 (June 7, 2011) ##
+
+* Fix various problems with using :primary_key and :foreign_key options in conjunction with
+ :through associations. [Jon Leighton]
+
+* Correctly handle inner joins on polymorphic relationships.
+
+* Fixed infinity and negative infinity cases in PG date columns.
+
+* Creating records with invalid associations via `create` or `save` will no longer raise exceptions.
+
+
## Rails 3.0.7 (April 18, 2011) ##
* Destroying records via nested attributes works independent of reject_if LH #6006 *Durran Jordan*