diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-16 08:25:37 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-16 08:25:37 +0000 |
commit | db69c9c12a4b24f6ca8bc186851cc3873303584c (patch) | |
tree | 94119383edbd491122c49e1aba87ad2cfe58744d /activerecord/CHANGELOG | |
parent | 814dd007e51f34299b767528f5dfc36cb4b69be3 (diff) | |
download | rails-db69c9c12a4b24f6ca8bc186851cc3873303584c.tar.gz rails-db69c9c12a4b24f6ca8bc186851cc3873303584c.tar.bz2 rails-db69c9c12a4b24f6ca8bc186851cc3873303584c.zip |
PostgreSQL: remove DateTime -> Time downcast. Bypass the DateTime migration test on 64-bit platforms since it may be a Time.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index b76c16792c..cbd928ac65 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* PostgreSQL: remove DateTime -> Time downcast. Warning: do not enable translate_results for the C bindings if you have timestamps outside Time's domain. [Jeremy Kemper] + * find_or_create_by_* takes a hash so you can create with more attributes than are in the method name. For example, Person.find_or_create_by_name(:name => 'Henry', :comments => 'Hi new user!') is equivalent to Person.find_by_name('Henry') || Person.create(:name => 'Henry', :comments => 'Hi new user!'). #7368 [Josh Susser] * Make sure with_scope takes both :select and :joins into account when setting :readonly. Allows you to save records you retrieve using method_missing on a has_many :through associations. [Koz] |