Skip to content
Browse files

Extract dynamic scaffolding into a plugin. Closes #7700.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 8437baa commit 8f94cc5cb4ec5e180bf6b5c401ab0c7bf407348e @jeremy jeremy committed Mar 4, 2007
View
2 actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*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]
View
2 actionpack/lib/action_controller/scaffolding.rb
@@ -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
View
2 actionpack/test/controller/addresses_render_test.rb
@@ -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

0 comments on commit 8f94cc5

Please sign in to comment.
Something went wrong with that request. Please try again.