upgrade initializers to rails 4