Sha256: 25876603170d53a6a156858a1fe7e24f59e029a5a97e823816f4e9c4ee3feecd
Contents?: true
Size: 286 Bytes
Versions: 4
Compression:
Stored size: 286 Bytes
Contents
# Stores the fact that a user is the confirmed friend of another user. # origin: M class Friendship < ActiveRecord::Base belongs_to :user belongs_to :friend, :class_name => 'User' validates_presence_of :user_id, :friend_id def self.import(path) YAML.load(path) end end
Version data entries
4 entries across 4 versions & 1 rubygems