Skip to content

Commit

Permalink
Added app/services as a default dir in the Rails skeleton and to the …
Browse files Browse the repository at this point in the history
…load path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Oct 28, 2005
1 parent e508595 commit b31aa2d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Added app/services as a default dir in the Rails skeleton and to the load path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH]

* Fixed scaffold generator when started with only 1 parameter #2609 [self@mattmower.com]

* rake should run functional tests even if the unit tests have failures [Jim Weirich]
Expand Down
2 changes: 1 addition & 1 deletion railties/Rakefile
Expand Up @@ -29,7 +29,7 @@ RUBY_FORGE_USER = "webster132"


BASE_DIRS = %w( app config/environments components db doc log lib lib/tasks public script script/performance script/process test vendor vendor/plugins )
APP_DIRS = %w( apis models controllers helpers views views/layouts )
APP_DIRS = %w( apis models controllers helpers services views views/layouts )
PUBLIC_DIRS = %w( images javascripts stylesheets )
TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/test )

Expand Down
2 changes: 1 addition & 1 deletion railties/environments/environment.rb
Expand Up @@ -12,7 +12,7 @@
# config.frameworks -= [ :action_web_service, :action_mailer ]

# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{RAILS_ROOT}/app/services )
# config.load_paths += %W( #{RAILS_ROOT}/extras )

# Force all environments to use the same logger level
# (by default production uses :info, the others :debug)
Expand Down
1 change: 1 addition & 0 deletions railties/lib/initializer.rb
Expand Up @@ -395,6 +395,7 @@ def default_load_paths
app/models
app/controllers
app/helpers
app/services
app/apis
components
config
Expand Down
Expand Up @@ -107,6 +107,7 @@ def add_options!(opt)
app/controllers
app/helpers
app/models
app/services
app/views/layouts
config/environments
components
Expand Down

0 comments on commit b31aa2d

Please sign in to comment.