Rails tweaks