You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: