aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/arel/table.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index 0e7214f269..3e06f94272 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -13,7 +13,6 @@ module Arel
def initialize(name, as: nil, type_caster: nil)
@name = name.to_s
- @columns = nil
@type_caster = type_caster
# Sometime AR sends an :as parameter to table, to let the table know
@@ -106,16 +105,5 @@ module Arel
protected
attr_reader :type_caster
-
- private
-
- def attributes_for columns
- return nil unless columns
-
- columns.map do |column|
- Attributes.for(column).new self, column.name.to_sym
- end
- end
-
end
end