trying to allow rails 4 support