I have 2 classes, A and B
我有2个班,A和B.
class A
has_many :bs
accepts_nested_attributes_for :bs
end
class B
belongs_to :a
end
class I have 2 classes, A and B
我有2个班,A和B.
class A
has_many :bs
accepts_nested_attributes_for :bs
end
class B
belongs_to :a
end
class