aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-08-25 19:37:41 -0300
committerEmilio Tagua <miloops@gmail.com>2009-08-25 19:37:41 -0300
commit51910106f196e4461b35661f90a835dec0c21ccf (patch)
tree2233f4f95e6de1cf071f69ffd55c75ed9fae69e8 /activerecord
parent689b89f548077264e46153222455d931a0d7ddf6 (diff)
parentc3a0a36fc3c5e54ad44643b8c0470ccbd47d9a64 (diff)
downloadrails-51910106f196e4461b35661f90a835dec0c21ccf.tar.gz
rails-51910106f196e4461b35661f90a835dec0c21ccf.tar.bz2
rails-51910106f196e4461b35661f90a835dec0c21ccf.zip
Merge commit 'rails/master'
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/examples/performance.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb
index 12153b490a..53acd62f47 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
@@ -130,7 +130,7 @@ RBench.run(TIMES) do
exhibit = {
:name => Faker::Company.name,
:notes => Faker::Lorem.paragraphs.join($/),
- :created_on => Date.today
+ :created_at => Date.today
}
report 'Model.create' do