aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-15 00:03:18 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-15 00:03:18 +0000
commita3298e5efdf33398b49933323ea3fef7ff4e9a9c (patch)
treebeab90fed7cd5eccc460c9001768d1771362993f /activerecord/lib
parent65f834ad45b2221fd442acc3c38fb2f750521a18 (diff)
downloadrails-a3298e5efdf33398b49933323ea3fef7ff4e9a9c.tar.gz
rails-a3298e5efdf33398b49933323ea3fef7ff4e9a9c.tar.bz2
rails-a3298e5efdf33398b49933323ea3fef7ff4e9a9c.zip
Small indent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-xactiverecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index c2ecd0121e..8bb981fb5e 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -902,7 +902,7 @@ module ActiveRecord #:nodoc:
# 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