Skip to content

better error messages for active record failures #280

Closed
@catmando

Description

@catmando

If you have an error in your active record model setup, you will not get very helpful messages out the system.

For example we recently encountered a scope definition that in some cases was unacceptable to Postgresql. The resulting error message gave no hint as to what the problem was.

Instead we should catch errors, and then add additional information about the active record expression being evaluated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions