Sha256: 89e17c58b68f9e3390c126089b0278a1d356648869b755f9233a9e50d534050d

Contents?: true

Size: 393 Bytes

Versions: 10

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true
module Thredded
  class UserTopicReadState < ActiveRecord::Base
    include Thredded::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

10 entries across 10 versions & 1 rubygems

Version Path
thredded-0.12.1 app/models/thredded/user_topic_read_state.rb
thredded-0.12.0 app/models/thredded/user_topic_read_state.rb
thredded-0.11.1 app/models/thredded/user_topic_read_state.rb
thredded-0.11.0 app/models/thredded/user_topic_read_state.rb
thredded-0.10.1 app/models/thredded/user_topic_read_state.rb
thredded-0.10.0 app/models/thredded/user_topic_read_state.rb
thredded-0.9.4 app/models/thredded/user_topic_read_state.rb
thredded-0.9.3 app/models/thredded/user_topic_read_state.rb
thredded-0.9.2 app/models/thredded/user_topic_read_state.rb
thredded-0.9.1 app/models/thredded/user_topic_read_state.rb