Browse files

Merge pull request #12094 from brocktimus/master

Substitute dynamic finders in 4.0 release notes [ci skip]
  • Loading branch information...
2 parents 8c1f5a0 + 84441b2 commit a72fdedd40676741cf73f62001a034beec3b10e4 @steveklabnik steveklabnik committed Sep 4, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 guides/source/4_0_release_notes.md
View
6 guides/source/4_0_release_notes.md
@@ -266,9 +266,9 @@ Please refer to the [Changelog](https://github.com/rails/rails/blob/master/activ
* `find_all_by_...` can be rewritten using `where(...)`.
* `find_last_by_...` can be rewritten using `where(...).last`.
* `scoped_by_...` can be rewritten using `where(...)`.
- * `find_or_initialize_by_...` can be rewritten using `where(...).first_or_initialize`.
- * `find_or_create_by_...` can be rewritten using `find_or_create_by(...)` or `where(...).first_or_create`.
- * `find_or_create_by_...!` can be rewritten using `find_or_create_by!(...)` or `where(...).first_or_create!`.
+ * `find_or_initialize_by_...` can be rewritten using `find_or_initialize_by(...)`.
+ * `find_or_create_by_...` can be rewritten using `find_or_create_by(...)`.
+ * `find_or_create_by_...!` can be rewritten using `find_or_create_by!(...)`.
Credits
-------

0 comments on commit a72fded

Please sign in to comment.