diff options
author | Gaurish Sharma <contact@gaurishsharma.com> | 2012-11-08 19:14:35 +0530 |
---|---|---|
committer | Gaurish Sharma <contact@gaurishsharma.com> | 2012-11-08 19:14:35 +0530 |
commit | e3e4fa1f6504ba27200c25558462dd2ba6c1fcd3 (patch) | |
tree | f432120cf4a923e283c9546e36d907205cd5dcfc /activerecord/test/fixtures/companies.yml | |
parent | 8659212df2d29dc1c3b20a58dde00a56a776817d (diff) | |
download | rails-e3e4fa1f6504ba27200c25558462dd2ba6c1fcd3.tar.gz rails-e3e4fa1f6504ba27200c25558462dd2ba6c1fcd3.tar.bz2 rails-e3e4fa1f6504ba27200c25558462dd2ba6c1fcd3.zip |
make syntax of select.map(&:field) same as pluck
The shortcut ampersand syntax of `select.map(&:field)` is same thing as `.plunk(:field)`. document that
Diffstat (limited to 'activerecord/test/fixtures/companies.yml')
0 files changed, 0 insertions, 0 deletions