Order key not known to activerecord 4.1.4