Sha256: 0bc069b9b4ff5bcc7ad81445ff00f1b73b494d4b0a2aa7730461221681841205

Contents?: true

Size: 149 Bytes

Versions: 3

Compression:

Stored size: 149 Bytes

Contents

class School < ApplicationRecord
  has_many :students, class_name: "Foo::Student"
  accepts_nested_attributes_for :students, allow_destroy: true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
administrate-field-nested_has_many-2.1.0 spec/dummy/app/models/school.rb
administrate-field-nested_has_many-2.0.0 spec/dummy/app/models/school.rb
administrate-field-nested_has_many-1.3.0 spec/dummy/app/models/school.rb