mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
oof, typo
This commit is contained in:
parent
6b7a61398d
commit
cdcd7ee75d
@ -38,7 +38,7 @@ class Document < ApplicationRecord
|
||||
end
|
||||
|
||||
def universe_field_value
|
||||
#todo when documents belong to a universe
|
||||
# TODO: populate value from cache when documents belong to a universe
|
||||
end
|
||||
|
||||
def analyze!
|
||||
|
||||
@ -16,7 +16,7 @@ class Marriage < ApplicationRecord
|
||||
this_object = Character.find_by(id: self.character_id)
|
||||
other_object = Character.find_by(id: self.spouse_id)
|
||||
|
||||
other_object.spouses.delete(this_object) if other_object.present? && this.object.present?
|
||||
other_object.spouses.delete(this_object) if other_object.present? && this_object.present?
|
||||
end
|
||||
|
||||
#todo "active" marriage?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user