aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-04-23 18:55:54 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-04-23 18:55:54 +0000
commitdf41c7cb612352951bfe8e471e11e67f249c16d5 (patch)
treed1db6c129661ebfe83aa14468dbf683db054f163 /railties/lib
parent52a9e5089ce61fa1f07abe3e36af53ae744b3999 (diff)
downloadrails-df41c7cb612352951bfe8e471e11e67f249c16d5.tar.gz
rails-df41c7cb612352951bfe8e471e11e67f249c16d5.tar.bz2
rails-df41c7cb612352951bfe8e471e11e67f249c16d5.zip
Include Active Resource instead of Action Web Service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/initializer.rb15
1 files changed, 7 insertions, 8 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb
index b391be6acc..577a3c88f1 100644
--- a/railties/lib/initializer.rb
+++ b/railties/lib/initializer.rb
@@ -23,7 +23,7 @@ module Rails
# through the block running:
#
# Rails::Initializer.run do |config|
- # config.frameworks -= [ :action_web_service ]
+ # config.frameworks -= [ :action_mailer ]
# end
#
# This will use the default configuration options from Rails::Configuration,
@@ -379,12 +379,12 @@ module Rails
# A stub for setting options on ActionView::Base
attr_accessor :action_view
- # A stub for setting options on ActionWebService::Base
- attr_accessor :action_web_service
-
# A stub for setting options on ActiveRecord::Base
attr_accessor :active_record
+ # A stub for setting options on ActiveRecord::Base
+ attr_accessor :active_resource
+
# Whether or not to use the breakpoint server (boolean)
attr_accessor :breakpoint_server
@@ -560,8 +560,8 @@ module Rails
actionpack/lib
activesupport/lib
activerecord/lib
+ activeresource/lib
actionmailer/lib
- actionwebservice/lib
).map { |dir| "#{framework_root_path}/#{dir}" }.select { |dir| File.directory?(dir) }
end
@@ -571,7 +571,7 @@ module Rails
end
def default_frameworks
- [ :active_record, :action_controller, :action_view, :action_mailer, :action_web_service ]
+ [ :active_record, :action_controller, :action_view, :action_mailer, :active_resource ]
end
def default_load_paths
@@ -590,7 +590,6 @@ module Rails
app/controllers
app/helpers
app/services
- app/apis
components
config
lib
@@ -694,4 +693,4 @@ class Rails::OrderedOptions < Array #:nodoc:
self.each { |i| return i if i.first == key }
return false
end
-end
+end \ No newline at end of file