rails 4 complete compatibility