RoR tricks from Railscasts