AR save(false) used less memory than save
When having lot of updates ( ~ 7983)
Memory used by daemon permanently growth upto 800Mb
THe problem is next
When saving record without validation save(false) max mem usage was 161 Mb
But there are no validations for this object
When I go through source code. Found that this issue because of valid? method.
Going more deeply I found that issue with new_record?
def new_record?
@new_record
end
Strange )
Tested on MRI 1.8.7, 64-bit
AR 1.15.6