Skip to content

Commit

Permalink
An explicit include ClassInheritableAttributes is no longer needed #1948
Browse files Browse the repository at this point in the history
 [Caleb Tennis]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Sep 8, 2005
1 parent eec24a1 commit febc24d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions actionpack/lib/action_controller/base.rb
Expand Up @@ -208,8 +208,6 @@ def initialize(message=nil)
# #
# FCGI.each_cgi{ |cgi| WeblogController.process_cgi(cgi) } # FCGI.each_cgi{ |cgi| WeblogController.process_cgi(cgi) }
class Base class Base
include ClassInheritableAttributes

DEFAULT_RENDER_STATUS_CODE = "200 OK" DEFAULT_RENDER_STATUS_CODE = "200 OK"


# Determines whether the view has access to controller internals @request, @response, @session, and @template. # Determines whether the view has access to controller internals @request, @response, @session, and @template.
Expand Down
2 changes: 0 additions & 2 deletions activerecord/lib/active_record/base.rb
Expand Up @@ -226,8 +226,6 @@ def initialize(errors)
# So it's possible to assign a logger to the class through Base.logger= which will then be used by all # So it's possible to assign a logger to the class through Base.logger= which will then be used by all
# instances in the current object space. # instances in the current object space.
class Base class Base
include ClassInheritableAttributes

# Accepts a logger conforming to the interface of Log4r or the default Ruby 1.8+ Logger class, which is then passed # Accepts a logger conforming to the interface of Log4r or the default Ruby 1.8+ Logger class, which is then passed
# on to any new database connections made and which can be retrieved on both a class and instance level by calling +logger+. # on to any new database connections made and which can be retrieved on both a class and instance level by calling +logger+.
cattr_accessor :logger cattr_accessor :logger
Expand Down
2 changes: 0 additions & 2 deletions activerecord/lib/active_record/fixtures.rb
Expand Up @@ -399,8 +399,6 @@ def read_fixture_file(fixture_file_path)
module Test #:nodoc: module Test #:nodoc:
module Unit #:nodoc: module Unit #:nodoc:
class TestCase #:nodoc: class TestCase #:nodoc:
include ClassInheritableAttributes

cattr_accessor :fixture_path cattr_accessor :fixture_path
class_inheritable_accessor :fixture_table_names class_inheritable_accessor :fixture_table_names
class_inheritable_accessor :use_transactional_fixtures class_inheritable_accessor :use_transactional_fixtures
Expand Down

0 comments on commit febc24d

Please sign in to comment.