diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-02-24 12:32:16 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-02-24 14:17:47 +0100 |
commit | d61baee52adcd1baebe15f1065a0805857571f19 (patch) | |
tree | 58243df5f868fec6c8f69b3a6a5b2a85d54ab944 /activesupport/CHANGELOG.md | |
parent | 3007c297d35c4742b9267b31adb5ff7a19e9cda6 (diff) | |
download | rails-d61baee52adcd1baebe15f1065a0805857571f19.tar.gz rails-d61baee52adcd1baebe15f1065a0805857571f19.tar.bz2 rails-d61baee52adcd1baebe15f1065a0805857571f19.zip |
Go with #presence_in instead of #present_in -- it doesnt sound quite as good, but the closer relationship to #presence over #present is ultimately worth it
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index b3e8d1d2bd..edad34f343 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -26,7 +26,7 @@ *Jeremy Kemper* -* Added `Object#present_in` to simplify value whitelisting. +* Added `Object#presence_in` to simplify value whitelisting. Before: @@ -34,7 +34,7 @@ After: - params[:bucket_type].present_in %w( project calendar ) + params[:bucket_type].presence_in %w( project calendar ) *DHH* |