If ever the original_file hasn't been set, we want to guard against a
NoMethodError for NilClass.
🐛 Remove form keys from is_child
2e4af9281cfd4a38aacfeae4ded42f10ace6763f
Because we have the form keys when the work gets created, is_child is
set to '' and not nil. This causes any queries that look for
is_child being nil to not work.
🐛 Add guard for nil original_file
21100a9f5b9c53bd3649518d4f9e39f93699cbb5
If ever the original_file hasn't been set, we want to guard against a NoMethodError for NilClass.
🐛 Remove form keys from is_child
2e4af9281cfd4a38aacfeae4ded42f10ace6763f
Because we have the form keys when the work gets created,
is_child
is set to''
and notnil
. This causes any queries that look foris_child
beingnil
to not work.