Sha256: 6f00846052f502f23749f637d38bbb05c9debaaabcce1cda63958d22d64af11a
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
module Hive # Tracks reblogging (re-steems). class Reblog < Base self.table_name = :hive_reblogs self.primary_keys = %i(account post_id) belongs_to :post belongs_to :reblogger, primary_key: :name, foreign_key: :account, class_name: 'Account' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hivemind-ruby-0.1.0 | lib/hive/models/reblog.rb |