提交 8f94cc5c 编写于 作者: J Jeremy Kemper

Extract dynamic scaffolding into a plugin. Closes #7700.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 8437baa4
*SVN*
* Extract dynamic scaffolding into a plugin. #7700 [Josh Peek]
* Added user/password options for url_for to add http authentication in a URL [DHH]
* Fixed that FormTagHelper#text_area_tag should disregard :size option if it's not a string [Brendon Davidson]
......
......@@ -184,6 +184,8 @@ def caller_method_name(caller)
end
end_eval
end
deprecate :scaffold => 'Controller scaffolding will be moved to a plugin in Rails 2.0. Switch to the generator or `script/plugin install scaffolding`'
end
end
end
......@@ -16,8 +16,6 @@ def self.find(*args)
end
class AddressesTestController < ActionController::Base
scaffold :address
def self.controller_name; "addresses"; end
def self.controller_path; "addresses"; end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册