aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-03-12 11:39:19 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2012-03-12 14:12:22 +0000
commit90d96353e6dcd962b182e03f53f2214acde00907 (patch)
tree8279d07b64cc468003f982847689a0ecb79b179f /activerecord/CHANGELOG.md
parent2b9041ba96375467717a79b0d2c5e6ecca038b5e (diff)
downloadrails-90d96353e6dcd962b182e03f53f2214acde00907.tar.gz
rails-90d96353e6dcd962b182e03f53f2214acde00907.tar.bz2
rails-90d96353e6dcd962b182e03f53f2214acde00907.zip
Add dynamic find_or_create_by_{attribute}! method.
(cherry picked from commit 5282485d310d1a6ffcf55e4e7f56ab234e16880d) Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/dynamic_finder_match.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 5fe57712d4..16c525d211 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,7 @@
## Rails 3.2.3 (unreleased) ##
+* Added find_or_create_by_{attribute}! dynamic method. *Andrew White*
+
* Whitelist all attribute assignment by default. Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible. *NZKoz*
* Update ActiveRecord::AttributeMethods#attribute_present? to return false for empty strings. *Jacobkg*