Created
April 24, 2016 06:20
-
-
Save Kalimaha/5e4caaa47586b63f79c16a866dd828e3 to your computer and use it in GitHub Desktop.
Generate random fixtures in Ruby-on-Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% 1000.times do |n| %> | |
| user_<%= n %>: | |
| first_name: <%= ['Bruce', 'Steve', 'Dave', 'Janick', 'Adrian', 'Nicko'].sample %> | |
| last_name: <%= ['Dickinson', 'Harris', 'Murray', 'Gers', 'Smith', 'McBrain'].sample %> | |
| <% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment