diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-08-24 19:54:37 -0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-08-24 16:17:08 -0700 |
commit | 09fde6440a729e169e51c04f7caf0d19fe949c1d (patch) | |
tree | e10223a7adc7d812a95c014019945a6f29a6971c | |
parent | e93d0a50c0e8cdc2507a7a211fc96404ad738152 (diff) | |
download | rails-09fde6440a729e169e51c04f7caf0d19fe949c1d.tar.gz rails-09fde6440a729e169e51c04f7caf0d19fe949c1d.tar.bz2 rails-09fde6440a729e169e51c04f7caf0d19fe949c1d.zip |
timestamps gives a created_at field not created_on.
[#3093 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
-rwxr-xr-x | activerecord/examples/performance.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb index 12153b490a..6841a04270 100755 --- a/activerecord/examples/performance.rb +++ b/activerecord/examples/performance.rb @@ -75,13 +75,13 @@ else 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 |