The following class definition
class Globalvalue < ApplicationRecord has_many :globalnations, inverse_of: :globalvalue accepts_nested_attributes_fo