diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-11-09 16:00:02 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-11-09 16:00:02 -0200 |
commit | 75dfd95618310a9522a73d8126b35351c8189042 (patch) | |
tree | 68ac697c0c048c463c98acace349bc0c26de591b /activerecord/lib/active_record/base.rb | |
parent | 994a1c2a4747efcca3c6278c119096d93f793da1 (diff) | |
download | rails-75dfd95618310a9522a73d8126b35351c8189042.tar.gz rails-75dfd95618310a9522a73d8126b35351c8189042.tar.bz2 rails-75dfd95618310a9522a73d8126b35351c8189042.zip |
Don't check if persisted is defined just initialize it properly
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 3e295eeaae..f588475bbf 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1368,7 +1368,7 @@ MSG def initialize(attributes = nil) @attributes = attributes_from_column_definition @attributes_cache = {} - @persited = false + @persisted = false @readonly = false @destroyed = false @marked_for_destruction = false |