Sha256: 2dae9dc3415e05f9c6d12d272f365b2f4c61505a161120f6cefc93b0c3ebea7f
Contents?: true
Size: 267 Bytes
Versions: 4
Compression:
Stored size: 267 Bytes
Contents
# Stores the fact that a user is attending a conference. # origin: M class Attendance < ActiveRecord::Base validates_presence_of :user_id, :conference_id validates_uniqueness_of :user_id, :scope => :conference_id belongs_to :user belongs_to :conference end
Version data entries
4 entries across 4 versions & 1 rubygems