Showing how to use vanity in different ways in rails 3.