Skip to content

Commit

Permalink
Apply doc fix to RC, closes #6522
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
NZKoz committed Dec 27, 2006
1 parent 155dcff commit ce8e54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Expand Up @@ -763,7 +763,7 @@ def columns
@columns
end

# Returns an array of column objects for the table associated with this class.
# Returns a hash of column objects for the table associated with this class.
def columns_hash
@columns_hash ||= columns.inject({}) { |hash, column| hash[column.name] = column; hash }
end
Expand Down

0 comments on commit ce8e54e

Please sign in to comment.