Sha256: f45dc5c5b3a0925896431c2a80ec4914f87ff5234f4362ee94afc67b1fbfe5f7

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

class ActiveRecord::Base
  def self.acts_as_follower
    self.send :include, Partisan::Follower
  end

  def self.acts_as_followable
    self.send :include, Partisan::Followable
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
partisan-0.1.1 spec/support/extensions/active_record.rb
partisan-0.1 spec/support/extensions/active_record.rb
partisan-0.0.1 spec/support/extensions/active_record.rb