diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-28 09:51:13 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-06-28 09:51:14 -0300 |
commit | 5e6de3942ffbc667d1f43860a0c80dd8031a0c60 (patch) | |
tree | 024a429f9e8e4d67520d471867d24c58dc4dfa00 /activemodel | |
parent | 94924dc32baf78f13e289172534c2e71c9c8cade (diff) | |
download | rails-5e6de3942ffbc667d1f43860a0c80dd8031a0c60.tar.gz rails-5e6de3942ffbc667d1f43860a0c80dd8031a0c60.tar.bz2 rails-5e6de3942ffbc667d1f43860a0c80dd8031a0c60.zip |
Remove order_values argument now that default_scope is simplified
In 94924dc32baf78f13e289172534c2e71c9c8cade the internal default_scope
implementation has changed making it simpler to follow, meaning that the
old usage of with_default_scope has been removed.
With that, order_values was the same argument for both calls to
find_first_with_limit, so remove it and use the existent attribute
for the sake of clarity/simplification.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions