Sha256: e54bfef491cf5c634ca2e46ea177fa9e6211a804357104254bbb3d3c800746ac
Contents?: true
Size: 227 Bytes
Versions: 3
Compression:
Stored size: 227 Bytes
Contents
class Wedding < ActiveRecord::Base has_many :events has_many :guests has_one :spouse_a, -> { order(name_order: :asc) }, class_name: 'Spouse' has_one :spouse_b, -> { order(name_order: :desc) }, class_name: 'Spouse' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
auto_admin-0.0.4 | spec/internal/app/models/wedding.rb |
auto_admin-0.0.3 | spec/internal/app/models/wedding.rb |
auto_admin-0.0.2 | spec/internal/app/models/wedding.rb |