aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails/generators
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-04-17 08:56:10 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-04-17 09:05:14 +0900
commitc2dbdd814097031d437aca06f46032c8111d4880 (patch)
tree865fab7abc4c5ab1b695e104fc7fc0166d9d7e74 /activerecord/lib/rails/generators
parente1e3be7c02acb0facbf81a97bbfe6d1a6e9ca598 (diff)
downloadrails-c2dbdd814097031d437aca06f46032c8111d4880.tar.gz
rails-c2dbdd814097031d437aca06f46032c8111d4880.tar.bz2
rails-c2dbdd814097031d437aca06f46032c8111d4880.zip
`cache_key` respects the limit in a relation even if a relation is not loaded
`cache_key` includes the size of a relation. But if a relation is not loadded, the size is not respected even if a relation has a limit. It should be respected for consistency.
Diffstat (limited to 'activerecord/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions