Change default values for rails 4 support