Permalink
Browse files

Small indent

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 65f834a commit a3298e5efdf33398b49933323ea3fef7ff4e9a9c @dhh dhh committed Feb 15, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
@@ -902,7 +902,7 @@ def destroy
# Returns a clone of the record that hasn't been assigned an id yet and is treated as a new record.
def clone
attrs = self.attributes
- attrs.delete(self.class.primary_key)
+ attrs.delete(self.class.primary_key)
cloned_record = self.class.new(attrs)
cloned_record
end

0 comments on commit a3298e5

Please sign in to comment.