• R
    Fix state being carried over from previous transaction · 12b0b26d
    Roque Pinel 提交于
    This clears the transaction record state when the transaction finishes
    with a `:committed` status.
    
    Considering the following example where `name` is a required attribute.
    Before we had `new_record?` returning `true` for a persisted record:
    
    ```ruby
      author = Author.create! name: 'foo'
      author.name = nil
      author.save        # => false
      author.new_record? # => true
    ```
    12b0b26d
可在Tags中查看这些版本中当前仓库的状态.
CHANGELOG.md 27.8 KB