aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-01 23:16:49 -0400
committerJosé Valim <jose.valim@gmail.com>2010-07-08 22:29:08 +0200
commita4f5f0547f205c6dbf264e8dadeb18492d5271ba (patch)
treece7ce02723be652770f773d9fa021f8165840c64 /activerecord/lib
parent7b0f8534c7a806fd04aac7c817c247433d02f641 (diff)
downloadrails-a4f5f0547f205c6dbf264e8dadeb18492d5271ba.tar.gz
rails-a4f5f0547f205c6dbf264e8dadeb18492d5271ba.tar.bz2
rails-a4f5f0547f205c6dbf264e8dadeb18492d5271ba.zip
removing unused method
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index f22a9de7b1..573220f460 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1152,11 +1152,6 @@ MSG
end
end
- # Returns the name of the class descending directly from Active Record in the inheritance hierarchy.
- def class_name_of_active_record_descendant(klass) #:nodoc:
- klass.base_class.name
- end
-
# Accepts an array, hash, or string of SQL conditions and sanitizes
# them into a valid SQL fragment for a WHERE clause.
# ["name='%s' and group_id='%s'", "foo'bar", 4] returns "name='foo''bar' and group_id='4'"