fixed ActiveRecordSpecification bug