prepare for rails 4.2, drop rails 3 support