diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-11 20:27:52 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 12:06:24 -0300 |
commit | 78dab2a8569408658542e462a957ea5a35aa4679 (patch) | |
tree | 2560e30a39209010fb82aeed6c706b48b9698a68 /guides | |
parent | e8615b99c6bced24f7e6866d37589588f3924cc1 (diff) | |
download | rails-78dab2a8569408658542e462a957ea5a35aa4679.tar.gz rails-78dab2a8569408658542e462a957ea5a35aa4679.tar.bz2 rails-78dab2a8569408658542e462a957ea5a35aa4679.zip |
Remove support to activerecord-deprecated_finders
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 476456eef7..e0a9add2be 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -1389,8 +1389,6 @@ NOTE: Remember that, if `find_by` returns more than one registry, it will take j Find or Build a New Object -------------------------- -NOTE: Some dynamic finders were deprecated in Rails 4.0 and removed in Rails 4.1. The best practice is to use Active Record scopes instead. You can find the deprecation gem at https://github.com/rails/activerecord-deprecated_finders - It's common that you need to find a record or create it if it doesn't exist. You can do that with the `find_or_create_by` and `find_or_create_by!` methods. ### `find_or_create_by` |