prep work for rails 4