Sha256: 2b268567dead789ae949b8f62ef6c2cec475e46291c6087def45bbcb9df771ae

Contents?: true

Size: 259 Bytes

Versions: 27

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

class EyeBowl
  include Mongoid::Document

  has_many :blue_eyes, class_name: "Eye", as: :eyeable
  has_many :brown_eyes, class_name: "Eye", as: :eyeable

  has_one :face, as: :suspended_in
  has_one :eye, as: :suspended_in
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mongoid-8.1.9 spec/support/models/eye_bowl.rb
mongoid-8.0.9 spec/support/models/eye_bowl.rb
mongoid-8.1.8 spec/support/models/eye_bowl.rb
mongoid-8.1.7 spec/support/models/eye_bowl.rb
mongoid-8.1.6 spec/support/models/eye_bowl.rb
mongoid-8.0.8 spec/support/models/eye_bowl.rb
mongoid-8.1.5 spec/support/models/eye_bowl.rb
mongoid-8.1.4 spec/support/models/eye_bowl.rb
mongoid-8.0.7 spec/support/models/eye_bowl.rb
mongoid-8.1.3 spec/support/models/eye_bowl.rb
mongoid-8.1.2 spec/support/models/eye_bowl.rb
mongoid-8.0.6 spec/support/models/eye_bowl.rb
mongoid-7.5.4 spec/support/models/eye_bowl.rb
mongoid-8.1.1 spec/support/models/eye_bowl.rb
mongoid-8.0.5 spec/support/models/eye_bowl.rb
mongoid-8.1.0 spec/support/models/eye_bowl.rb
mongoid-7.5.3 spec/support/models/eye_bowl.rb
mongoid-8.0.4 spec/support/models/eye_bowl.rb
mongoid-8.0.3 spec/support/models/eye_bowl.rb
mongoid-7.5.2 spec/support/models/eye_bowl.rb