Convert to symbol for rails4 support