Fix case of CustomPresenceValidator having nil

 * Required attributes must be an array
Remove rails 2.3 dependent code