Fix Rails initializer