Skip to content
This repository
Browse code

Monkey doc around in an attempt to please rdoc

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-stable@6417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 8ad39a0a47ffde7f5eb002074652401ec257ace6 1 parent 1cd8257
David Heinemeier Hansson authored March 13, 2007

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  activerecord/lib/active_record/base.rb
3  activerecord/lib/active_record/base.rb
@@ -1052,10 +1052,9 @@ def find_some(ids, options)
1052 1052
         def instantiate(record)
1053 1053
           object =
1054 1054
             if subclass_name = record[inheritance_column]
1055  
-              # No type given.
1056 1055
               if subclass_name.empty?
  1056
+                # No type given.
1057 1057
                 allocate
1058  
-
1059 1058
               else
1060 1059
                 # Ignore type if no column is present since it was probably
1061 1060
                 # pulled in from a sloppy join.

0 notes on commit 8ad39a0

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