Sha256: a19767b30130f26c6a52d427eea770b0c564c66146d5ec110b6760df0dbd03fb

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

class ControlledVersioning::VersionChild < ActiveRecord::Base

  belongs_to :versionable, polymorphic: true
  belongs_to :version, polymorphic: true
  has_many :version_attributes, as: :version
  has_many :version_children, as: :version

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
controlled_versioning-0.6.3 lib/generators/templates/version_child.rb
controlled_versioning-0.6.2 lib/generators/templates/version_child.rb
controlled_versioning-0.6.1 lib/generators/templates/version_child.rb
controlled_versioning-0.6 lib/generators/templates/version_child.rb