Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing unused method

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit a4f5f0547f205c6dbf264e8dadeb18492d5271ba 1 parent 7b0f853
@neerajdotname neerajdotname authored josevalim committed
Showing with 0 additions and 5 deletions.
  1. +0 −5 activerecord/lib/active_record/base.rb
View
5 activerecord/lib/active_record/base.rb
@@ -1152,11 +1152,6 @@ def class_of_active_record_descendant(klass)
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'"

0 comments on commit a4f5f05

Please sign in to comment.
Something went wrong with that request. Please try again.