diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-12-28 09:26:35 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-12-28 09:34:35 +0100 |
commit | 0d2675f84f54504e5ba25b2f53b00bac239ef393 (patch) | |
tree | 26cb45aacbba3a7c03d117ab82f9ad03e4fa5b6c /guides | |
parent | 4b1f67a11a6fd5680a7ce37b695a4d86e6a2c302 (diff) | |
parent | b42c3255bf22e54f459751d5370e8befc33e84ea (diff) | |
download | rails-0d2675f84f54504e5ba25b2f53b00bac239ef393.tar.gz rails-0d2675f84f54504e5ba25b2f53b00bac239ef393.tar.bz2 rails-0d2675f84f54504e5ba25b2f53b00bac239ef393.zip |
Merge pull request #22053 from Empact/first-loaded
Fix #first(limit) to take advantage of #loaded? records if available
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/5_0_release_notes.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md index 3573cecbe0..e504514e72 100644 --- a/guides/source/5_0_release_notes.md +++ b/guides/source/5_0_release_notes.md @@ -431,6 +431,10 @@ Please refer to the [Changelog][active-record] for detailed changes. `#table_exists?` will check only tables in the future. ([Pull Request](https://github.com/rails/rails/pull/21601)) +* Deprecate sending the `offset` argument to `find_nth`. Please use the + `offset` method on relation instead. + ([Pull Request](https://github.com/rails/rails/pull/22053)) + ### Notable changes * Added a `foreign_key` option to `references` while creating the table. |