Skip to content
Commits on Nov 9, 2010
  1. @dchelimsky @spastorino

    use persisted? instead of new_record? wherever possible

    dchelimsky committed with spastorino
    - persisted? is the API defined in ActiveModel
    - makes it easier for extension libraries to conform to ActiveModel APIs
      without concern for whether the extended object is specifically
    [#5927 state:committed]
    Signed-off-by: Santiago Pastorino <>
Something went wrong with that request. Please try again.