update depricated Rails2 errors.add_to_base("x") to Rails3 errors.add(:base,"x")