Skip to content

find_all_by not filtering correctly by boolean fields #2

Description

@GarPit
models.index_banners.find_all_by(static_banner: false)

The reason may be in json column. Because we don't have kind of "default values" for fields, when creating new entry, nothing will be written for checkbox field if it wasn't checked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions