impress/app/models/item
Emi Matchu 540ce08caa Handle invalid Item state a bit better
Catch missing fields in validation before sending it to the DB, and
skip the Dyeworks stuff if the name is missing.

I ran into this looking into `test/trade_activity_test.rb`, which fails
right now because we try to create a boring placeholder item with
minimal fields, which Dyeworks can't call `name.match()` on!

Now, the test fails with a more helpful error about the item being
invalid. Next, I'll fix that!
2024-10-21 14:24:45 -07:00
..
search Use "real" series name field when editing alt styles 2024-10-18 17:13:16 -07:00
dyeworks.rb Handle invalid Item state a bit better 2024-10-21 14:24:45 -07:00
search.rb globalized search first draft 2013-01-24 18:24:35 -06:00