Rails Factory girl how to generate 1-letter strings
<p>I'm new to factory girl and I have an object of class foo that has an attribute bar which is a one letter string. So far I've used the following factory</p>

<pre><code>sequence(:bar, 'A') { |n| n }
</code></pre>

<p>and it worked until I added enough tests to make the string consist of 2 letters, i.e. after 'Z' the next generated string was 'AA'. So my question is how do I make it start over from 'A' again? Thanks in advance.</p>