Sha256: 6609c4feb6c148277468c983cde18e9f5928a3ec5312c413cd848a82446036be
Contents?: true
Size: 317 Bytes
Versions: 8
Compression:
Stored size: 317 Bytes
Contents
require 'orange/carton' module Orange # Defines a carton that belongs to a specific site. # (Subclasses should be sure to call super if they override init, since # it is what defines the relationship) class SiteCarton < Carton def self.init belongs_to :orange_site, 'Orange::Site' end end end
Version data entries
8 entries across 8 versions & 1 rubygems