Tweak to the rails example.