Sha256: 6d9d71a9fe149badf47626e51d6f8ab8509a615b962908dcf5e0a51150a761ec

Contents?: true

Size: 383 Bytes

Versions: 13

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true
module Thredded
  class UserTopicReadState < ActiveRecord::Base
    include UserTopicReadStateCommon
    belongs_to :user,
               class_name: Thredded.user_class,
               inverse_of: :thredded_topic_read_states
    belongs_to :postable,
               class_name: 'Thredded::Topic',
               inverse_of: :user_read_states
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
thredded-0.8.4 app/models/thredded/user_topic_read_state.rb
thredded-0.8.2 app/models/thredded/user_topic_read_state.rb
thredded-0.7.0 app/models/thredded/user_topic_read_state.rb
thredded-0.6.3 app/models/thredded/user_topic_read_state.rb
thredded-0.6.2 app/models/thredded/user_topic_read_state.rb
thredded-0.6.1 app/models/thredded/user_topic_read_state.rb
thredded-0.6.0 app/models/thredded/user_topic_read_state.rb
thredded-0.5.1 app/models/thredded/user_topic_read_state.rb
thredded-0.5.0 app/models/thredded/user_topic_read_state.rb
thredded-0.4.0 app/models/thredded/user_topic_read_state.rb
thredded-0.3.2 app/models/thredded/user_topic_read_state.rb
thredded-0.3.1 app/models/thredded/user_topic_read_state.rb
thredded-0.3.0 app/models/thredded/user_topic_read_state.rb