{"blog_title":"so what","published":"2008-11-26 00:00:01","type":"rich","title":" Rails 2.2.2: ActiveRecord\u306e\u4e26\u5217\u6027 - 2.0.1\u306e\u5834\u5408","height":"190","version":"1.0","author_url":"https://blog.hatena.ne.jp/winebarrel/","author_name":"winebarrel","url":"https://so-wh.at/entry/20081126/p1","image_url":null,"blog_url":"https://so-wh.at/","categories":["RAILS"],"provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20081126%2Fp1\" title=\" Rails 2.2.2: ActiveRecord\u306e\u4e26\u5217\u6027 - 2.0.1\u306e\u5834\u5408 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","description":"\u3068\u308a\u3042\u3048\u305a\u3001Rails 2.0.1\u3067ActiveRecord\u3092\u4e26\u5217\u306b\u52d5\u304b\u3057\u3066\u307f\u308b\u3002 BarController $stdout.sync = true class BarController < ApplicationController def index 10.times do Thread.fork do touch end end render :text => 'OK' end private def touch begin 10.times do User.create!(:name => \"#{Thread.current}: Yamada Taro\", :age => 20) \u2026"}