Permalink
Browse files

removing unused method

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 7b0f853 commit a4f5f0547f205c6dbf264e8dadeb18492d5271ba Neeraj Singh committed with josevalim Jul 2, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −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.