get the specs passing for rails 4