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
To clarify, I have to remove the unique_constraint lines from schema.rb completely. scaffold will still try to read the attributes if they are commented out like this:
Description
Hullo.
I'm seeing the error below when running
scaffold
. It occurs when being run for single, or multiple tables, so it's similar to, but different from #14.Cause
I've tracked the issue down to these two lines in my
schema.rb
file:Once I delete those I'm able to run
scaffold
without issue.Context
Ruby: 3.1.2
Rails: 7.1.2
OS: MacOS 12.6.3
Scaffold: 0.8.2
The text was updated successfully, but these errors were encountered: