Skip to content

Commit

Permalink
Monkey doc around in an attempt to please rdoc
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-stable@6417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Mar 13, 2007
1 parent 1cd8257 commit 8ad39a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions activerecord/lib/active_record/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1052,10 +1052,9 @@ def find_some(ids, options)
def instantiate(record)
object =
if subclass_name = record[inheritance_column]
# No type given.
if subclass_name.empty?
# No type given.
allocate

else
# Ignore type if no column is present since it was probably
# pulled in from a sloppy join.
Expand Down

0 comments on commit 8ad39a0

Please sign in to comment.