Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

An explicit include ClassInheritableAttributes is no longer needed #1948

 [Caleb Tennis]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit febc24dee7b5f5c34531bdad7712a7cdd1ddac6a 1 parent eec24a1
David Heinemeier Hansson dhh authored
2  actionpack/lib/action_controller/base.rb
View
@@ -208,8 +208,6 @@ def initialize(message=nil)
#
# FCGI.each_cgi{ |cgi| WeblogController.process_cgi(cgi) }
class Base
- include ClassInheritableAttributes
-
DEFAULT_RENDER_STATUS_CODE = "200 OK"
# Determines whether the view has access to controller internals @request, @response, @session, and @template.
2  activerecord/lib/active_record/base.rb
View
@@ -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
# instances in the current object space.
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
# 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
2  activerecord/lib/active_record/fixtures.rb
View
@@ -399,8 +399,6 @@ def read_fixture_file(fixture_file_path)
module Test #:nodoc:
module Unit #:nodoc:
class TestCase #:nodoc:
- include ClassInheritableAttributes
-
cattr_accessor :fixture_path
class_inheritable_accessor :fixture_table_names
class_inheritable_accessor :use_transactional_fixtures
Please sign in to comment.
Something went wrong with that request. Please try again.