Sha256: 4322745c834b5990de79b76fe44e919b528326630049e7ad3d267d18100b76ac
Contents?: true
Size: 322 Bytes
Versions: 4
Compression:
Stored size: 322 Bytes
Contents
require 'orange-core/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
4 entries across 4 versions & 1 rubygems