app/models/item.rb in enju_biblio-0.3.10.rc.2 vs app/models/item.rb in enju_biblio-0.3.10.rc.3
- old
+ new
@@ -107,10 +107,10 @@
record = {
item_id: id,
item_identifier: item_identifier,
binding_item_identifier: binding_item_identifier,
call_number: call_number,
- shelf: shelf.name,
+ shelf: shelf&.name,
item_note: note,
accepted_at: accept&.created_at,
acquired_at: acquired_at,
item_created_at: created_at,
item_updated_at: updated_at