convert more erb stmt to expr
remove config.active_record.auto_explain_threshold_in_seconds when upgrade to rails 4.0