init for rails 3 (ugh)