projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
test
/
fixtures
/
sellers.yml
1
<% 1.upto(20) do |num| %>
2
<%="seller#{num}:" %>
3
id: <%= num %>
4
user_id: <%= num %>
5
company_name: <%= "seller#{num}" %>
6
capitalization: <%= num * 1.548 %>
7
created_at: <%= (Time.now - num.weeks).to_s :db %>
8
updated_at: <%= (Time.now - num.days).to_s :db %>
9
<% end %>
10