rails 4.0 has HEAD as well