aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Kalderimis <josh.kalderimis@gmail.com>2010-11-19 18:30:48 +0100
committerJosé Valim <jose.valim@gmail.com>2010-11-20 19:40:32 +0100
commit8796f9a31a77bb2ab97ea6c2cf2036fb6e38497e (patch)
treed54e9cfac4473d4683e8bfe612c7f8ae792d397c
parentd7db6a88734c3b666f4b85f266d223eff408b294 (diff)
downloadrails-8796f9a31a77bb2ab97ea6c2cf2036fb6e38497e.tar.gz
rails-8796f9a31a77bb2ab97ea6c2cf2036fb6e38497e.tar.bz2
rails-8796f9a31a77bb2ab97ea6c2cf2036fb6e38497e.zip
removed an AR method which wasn't used internally, had no tests, and had no docs
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r--activerecord/lib/active_record/base.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 8bde1869c7..aee6f3a7eb 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -727,10 +727,6 @@ module ActiveRecord #:nodoc:
@arel_engine = @relation = @arel_table = nil
end
- def reset_column_information_for_all_subclasses#:nodoc:
- descendants.each { |klass| klass.reset_column_information }
- end
-
def attribute_method?(attribute)
super || (table_exists? && column_names.include?(attribute.to_s.sub(/=$/, '')))
end