Skip to content

Commit

Permalink
timestamps gives a created_at field not created_on.
Browse files Browse the repository at this point in the history
[#3093 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information
miloops authored and jeremy committed Aug 24, 2009
1 parent e93d0a5 commit 09fde64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/examples/performance.rb
Expand Up @@ -75,13 +75,13 @@ def self.feel(exhibits) exhibits.each { |e| e.feel } end
puts 'Inserting 10,000 users and exhibits...'
10_000.times do
user = User.create(
:created_on => today,
:created_at => today,
:name => Faker::Name.name,
:email => Faker::Internet.email
)

Exhibit.create(
:created_on => today,
:created_at => today,
:name => Faker::Company.name,
:user => user,
:notes => notes
Expand Down

0 comments on commit 09fde64

Please sign in to comment.