# Looping wiht ERb dynamic fixture?

**URL:** <https://www.ruby-forum.com/t/looping-wiht-erb-dynamic-fixture/112570>\
**Category:** Rails\
**Created:** [August 21, 2007, 12:03am UTC](https://www.ruby-forum.com/t/looping-wiht-erb-dynamic-fixture/112570 "2007-08-21T00:03:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chirag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@chirag](https://www.ruby-forum.com/u/chirag)\
**Post date:** [August 21, 2007, 12:03am UTC](https://www.ruby-forum.com/t/looping-wiht-erb-dynamic-fixture/112570/1 "2007-08-21T00:03:37Z")

</div>

I would like to create a dynamic fixture with ERb which generates  
about 5000 records. The data is all numeric and will be graphed and  
therefore each record has no meaning on its own (and the record “name”  
is not needed). My question is:

How can I create a dynamic fixture with ERb by using a loop and not  
include the record “name”?

Thanks Chirag
