quick
quick copied to clipboard
firstOrNew (and updateOrCreate) does not use column names
If you have an entity whose primary key property
name does not equal the column
name, firstOrNew
appears to ignore the column
definition -- looks like it is passing the attribute name directly to QB.