Sha256: 3a276ce5b790eaece9f62f7714a5bf0c42dcbfbc90e0c212f799ec54ef61cead

Contents?: true

Size: 182 Bytes

Versions: 309

Compression:

Stored size: 182 Bytes

Contents

class HasOneField < ActiveRecord::Base
  enum status: [:submitted, :pending, :rejected]

  has_one :belongs_to_field
  has_one :belongs_to_class_name_field, foreign_key: :foo_id
end

Version data entries

309 entries across 309 versions & 1 rubygems

Version Path
forest_liana-9.7.0 test/dummy/app/models/has_one_field.rb
forest_liana-9.6.4 test/dummy/app/models/has_one_field.rb
forest_liana-9.6.3 test/dummy/app/models/has_one_field.rb
forest_liana-9.6.0 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.7 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.6 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.5 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.4 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.3 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.2 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.1 test/dummy/app/models/has_one_field.rb
forest_liana-9.5.0 test/dummy/app/models/has_one_field.rb
forest_liana-9.4.3 test/dummy/app/models/has_one_field.rb
forest_liana-9.4.2 test/dummy/app/models/has_one_field.rb
forest_liana-9.4.1 test/dummy/app/models/has_one_field.rb
forest_liana-9.4.0 test/dummy/app/models/has_one_field.rb
forest_liana-8.3.3 test/dummy/app/models/has_one_field.rb
forest_liana-9.3.16 test/dummy/app/models/has_one_field.rb
forest_liana-9.3.15 test/dummy/app/models/has_one_field.rb
forest_liana-9.3.14 test/dummy/app/models/has_one_field.rb