some recipes for rails 3