# == Schema Information # # Table name: account_opportunities # # id :integer not null, primary key # account_id :integer # opportunity_id :integer # deleted_at :datetime # created_at :datetime # updated_at :datetime # <% for i in (1 .. 20) do random = rand(20) %> account_opportunities<%= i %>: id: <%= i %> account_id: <%= i if random < 15 %> opportunity_id: <%= (i + random) if random < 15 %> deleted_at: created_at: <%= starts = Date.today - rand(15).days %> updated_at: <%= starts + rand(5).days %> <% end %>