名前衝突?!
『 urls 』 というテーブル名では、
C:\ruby\lib\ruby\gems\1.8\gems\actionpack-1.11.2\lib\action_controller\base.rb
の448行
444 def url_for(options = {}, *parameters_for_method_reference) #:doc: 445 case options 446 when String then options 447 when Symbol then send(options, *parameters_for_method_reference) 448 when Hash then @url.rewrite(rewrite_options(options)) 449 end 450 end
の@url インスタンス変数名が、scaffold で生成される@urlインスタンス変数名と衝突
してエラーになりますのでご注意を