# WWW:Mechanize history

**URL:** <https://www.ruby-forum.com/t/www-mechanize-history/49873>\
**Category:** Ruby\
**Created:** [December 9, 2005, 4:08pm UTC](https://www.ruby-forum.com/t/www-mechanize-history/49873 "2005-12-09T16:08:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![narf968](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@narf968](https://www.ruby-forum.com/u/narf968)\
**Post date:** [December 9, 2005, 4:08pm UTC](https://www.ruby-forum.com/t/www-mechanize-history/49873/1 "2005-12-09T16:08:29Z")

</div>

Hi!

Anyone know if there is a way to tell mechanize not to save a history?

Or maybe how to nil-ify?

I am saving a mechanize agent using yaml and I don’t need all that  
extra history.

---

<div class="post-metadata">

**Author:** ![narf968](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@narf968](https://www.ruby-forum.com/u/narf968)\
**Post date:** [December 9, 2005, 4:20pm UTC](https://www.ruby-forum.com/t/www-mechanize-history/49873/2 "2005-12-09T16:20:49Z")

</div>

Ok, that was easy.

I can just set @history = [] before I save it.

I was looking for a history= method or something.
