rails/rails — Issue #3678: ActiveRecord 3.1.2 takes 10 times slower than 3.1.1
Author: Psli
Created: 2011-11-18 14:28:02+00:00
State: open

Mac OS X 10.6.8
MySQL 5.5.15
```
rails new blog -d mysql
rails generate scaffold Post name:string title:string content:text
```
rails 3.1.1
```
Started GET "/posts/1" for 127.0.0.1 at 2011-11-18 13:24:59 +0800
Processing by PostsController#show as HTML
Parameters: {"id"=>"1"}
Deal Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
Rendered posts/show.html.erb within layouts/application (14.7ms)
Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 4.8ms)
```

rails 3.1.2
```
Started GET "/posts/1" for 127.0.0.1 at 2011-11-18 13:27:33 +0800
Processing by PostsController#show as HTML
Parameters: {"id"=>"1"}
Deal Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 1 LIMIT 1
Rendered posts/show.html.erb within layouts/application (15.7ms)
Completed 200 OK in 309ms (Views: 24.0ms | ActiveRecord: 282.5ms)
```