Sha256: beb3659dabf6dc8e4bfb672663a7d30f41ae91d0a9827584bd0e2e5cd4dadcdd

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

class ActiveRecordOrm::Primal < ActiveRecord::Base
  has_one :has_one_reference, :validate => true
  has_many :has_many_references, :validate => true

  accepts_nested_attributes_for :has_one_reference, :has_many_references, :allow_destroy => true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/app/models/active_record_orm/primal.rb
puffer-0.1.0 spec/dummy/app/models/active_record_orm/primal.rb