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
when I create a barcode object (on the CLI) without specifying an id, Rails throws an exception. Investigation shows a spurious requirement of the id property in the model file.
The text was updated successfully, but these errors were encountered:
I'm no expert in how Rails handles IDs.
But from the view of constructing a database, adding artificial IDs to tables if real-world IDs exist is superfluous.
But giving artifical (numeric) IDs to barcodes would be consistent with drinks and users.
This is difficicult.
when I create a barcode object (on the CLI) without specifying an id, Rails throws an exception. Investigation shows a spurious requirement of the id property in the model file.
The text was updated successfully, but these errors were encountered: