Skip to content

ActiveRecord::Base#new? should be #new_record? #120

Closed
@catmando

Description

@catmando

deprecate new? and replace with new_record? which is the ActiveRecord method name.

Note: historically I think the name new? came in from perhaps Volt, as MongoMapper uses new?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions