diff options
author | Holger Frohloff <holger@5minutenpause.com> | 2015-02-02 20:25:32 +0100 |
---|---|---|
committer | Holger Frohloff <holger@5minutenpause.com> | 2015-02-03 09:58:23 +0100 |
commit | 3e036f90c233fbbdc1e2cf15885afab611e90537 (patch) | |
tree | dee61a57a0cce4769e1ff1d930af6e6e3a69a21a /activesupport/test/lazy_load_hooks_test.rb | |
parent | 054e2a3d4220fcdf91170b5b45f16da36e35c5ce (diff) | |
download | rails-3e036f90c233fbbdc1e2cf15885afab611e90537.tar.gz rails-3e036f90c233fbbdc1e2cf15885afab611e90537.tar.bz2 rails-3e036f90c233fbbdc1e2cf15885afab611e90537.zip |
Small enhancement for generators
Changes a call to #map and a subsequent call to #flatten to the more idiomatic
version of #flat_map. This commit also removes an unnessecary return statement.
Diffstat (limited to 'activesupport/test/lazy_load_hooks_test.rb')
0 files changed, 0 insertions, 0 deletions