Sha256: d1f213efb1613b1f2231bd2ceb46b36d7332a76fcab6aa005519ef157a0e8129
Contents?: true
Size: 248 Bytes
Versions: 7
Compression:
Stored size: 248 Bytes
Contents
class Version < ActiveRecord::Base include Comparable belongs_to :versioned, :polymorphic => true undef_method :changes serialize :changes, Hash alias_attribute :version, :number def <=>(other) number <=> other.number end end
Version data entries
7 entries across 7 versions & 2 rubygems