Remove siblings from Character

This commit is contained in:
Andrew Brown 2016-04-29 13:58:53 -05:00
parent 4761f2ddb2
commit 395fc83b89
3 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ class CharactersController < ContentController
:mannerisms, :birthday, :birthplace, :education, :background,
:fave_color, :fave_food, :fave_possession, :fave_weapon, :fave_animal,
:father, :mother, :spouse, :siblings, :archenemy, :notes, :private_notes
# TODO: remove :siblings if needed / nested attributes
]
end
end

View File

@ -52,6 +52,7 @@ class Character < ActiveRecord::Base
relations: {
icon: 'face',
attributes: %w(mother father spouse siblings archenemy)
# TODO: recognize siblings is association
},
notes: {
icon: 'edit',

View File

@ -47,7 +47,6 @@ ActiveRecord::Schema.define(version: 20160405035806) do
t.text "father"
t.text "mother"
t.text "spouse"
t.text "siblings"
t.text "archenemy"
t.text "notes"
t.text "private_notes"