Check for rails 4.