Skip to content

Bug > attribute_changed? flag is not correctly set when modifying the array #13

Open
@saurabhnanda

Description

@saurabhnanda

Here's how to reproduce this bug:

> ar_object.some_pg_array.push(1)
> ar_object.some_pg_array_changed?
=> false

> ar_object.some_pg_array = [1, 2, 3]
> ar_object.some_pg_array_changed?
=> true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions