Sha256: e8e98af683089584b0ac84ef53d3e782567e0ce1c1d923fc13200cc8dc99481e

Contents?: true

Size: 167 Bytes

Versions: 16

Compression:

Stored size: 167 Bytes

Contents

# frozen_string_literal: true

class Job < ActiveRecord::Base
  has_many :users
  accepts_nested_attributes_for :users, reject_if: :all_blank, allow_destroy: true
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
eac_rails_utils-0.13.0 test/dummy/app/models/job.rb
eac_rails_utils-0.12.3 test/dummy/app/models/job.rb
eac_rails_utils-0.12.2 test/dummy/app/models/job.rb
eac_rails_utils-0.12.1 test/dummy/app/models/job.rb
eac_rails_utils-0.12.0 test/dummy/app/models/job.rb
eac_rails_utils-0.11.6 test/dummy/app/models/job.rb
eac_rails_utils-0.11.5 test/dummy/app/models/job.rb
eac_rails_utils-0.11.4 test/dummy/app/models/job.rb
eac_rails_utils-0.11.3 test/dummy/app/models/job.rb
eac_rails_utils-0.11.2 test/dummy/app/models/job.rb
eac_rails_utils-0.11.1 test/dummy/app/models/job.rb
eac_rails_utils-0.11.0 test/dummy/app/models/job.rb
eac_rails_utils-0.10.1 test/dummy/app/models/job.rb
eac_rails_utils-0.10.0 test/dummy/app/models/job.rb
eac_rails_utils-0.9.1 test/dummy/app/models/job.rb
eac_rails_utils-0.9.0 test/dummy/app/models/job.rb