Sha256: 694e3d38851e19f34299ef0347bd4e8f92bb67516b3accb50f755e440f38401d

Contents?: true

Size: 245 Bytes

Versions: 13

Compression:

Stored size: 245 Bytes

Contents

# frozen_string_literal: true
# A classification of a Thought.
class ThoughtPattern < ActiveRecord::Base
  has_many :thoughts, foreign_key: :pattern_id, dependent: :nullify

  validates :title, :description, :recommendations, presence: true
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/models/thought_pattern.rb
think_feel_do_engine-3.22.8 app/models/thought_pattern.rb
think_feel_do_engine-3.22.7 app/models/thought_pattern.rb
think_feel_do_engine-3.22.6 app/models/thought_pattern.rb
think_feel_do_engine-3.22.5 app/models/thought_pattern.rb
think_feel_do_engine-3.22.4 app/models/thought_pattern.rb
think_feel_do_engine-3.22.2 app/models/thought_pattern.rb
think_feel_do_engine-3.22.1 app/models/thought_pattern.rb
think_feel_do_engine-3.22.0 app/models/thought_pattern.rb
think_feel_do_engine-3.21.2 app/models/thought_pattern.rb
think_feel_do_engine-3.21.1 app/models/thought_pattern.rb
think_feel_do_engine-3.21.0 app/models/thought_pattern.rb
think_feel_do_engine-3.20.1 app/models/thought_pattern.rb