From df41c7cb612352951bfe8e471e11e67f249c16d5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 23 Apr 2007 18:55:54 +0000 Subject: 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 --- railties/lib/initializer.rb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'railties/lib') 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 -- cgit v1.2.3