aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/assets
diff options
context:
space:
mode:
authorMarc Chung <mchung@gmail.com>2011-11-22 17:04:19 -0700
committerMarc Chung <mchung@gmail.com>2011-11-22 17:04:19 -0700
commit745b7a14377607c5fddb8cd1151d69267095242c (patch)
treefe0547be8eb45d1ad03234304c91307ce95c85a3 /railties/guides/assets
parent5c61b7230eaa316ce64f4031234b425c35668988 (diff)
downloadrails-745b7a14377607c5fddb8cd1151d69267095242c.tar.gz
rails-745b7a14377607c5fddb8cd1151d69267095242c.tar.bz2
rails-745b7a14377607c5fddb8cd1151d69267095242c.zip
- Avoid using .first since it will create an additional query.
- Handle scenario where @posts is empty.
Diffstat (limited to 'railties/guides/assets')
0 files changed, 0 insertions, 0 deletions