Fixed undefined method error_messages on forms