Sha256: 397900356e416be10772d5fbf728bc5f56ec4a4e82b74c22e1f114ee81e1bfcc

Contents?: true

Size: 152 Bytes

Versions: 68

Compression:

Stored size: 152 Bytes

Contents

class Teste1 < ActiveRecord::Base
  belongs_to :teste
  
  accepts_nested_attributes_for :teste, allow_destroy: true
  def to_s
    descricao
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
templus_models-3.0.21 test/dummy/app/models/teste1.rb
templus_models-3.0.20 test/dummy/app/models/teste1.rb
templus_models-3.0.19 test/dummy/app/models/teste1.rb
templus_models-3.0.17 test/dummy/app/models/teste1.rb
templus_models-2.0.16 test/dummy/app/models/teste1.rb
templus_models-1.6.9 test/dummy/app/models/teste1.rb
templus_models-2.0.15 test/dummy/app/models/teste1.rb
templus_models-3.0.14 test/dummy/app/models/teste1.rb
templus_models-2.0.14 test/dummy/app/models/teste1.rb
templus_models-2.0.12 test/dummy/app/models/teste1.rb
templus_models-3.0.13 test/dummy/app/models/teste1.rb
templus_models-3.0.12 test/dummy/app/models/teste1.rb
templus_models-2.0.11 test/dummy/app/models/teste1.rb
templus_models-2.0.9 test/dummy/app/models/teste1.rb
templus_models-2.0.8 test/dummy/app/models/teste1.rb
templus_models-3.0.10 test/dummy/app/models/teste1.rb
templus_models-1.6.8 test/dummy/app/models/teste1.rb
templus_models-1.6.7 test/dummy/app/models/teste1.rb
templus_models-3.0.9 test/dummy/app/models/teste1.rb
templus_models-2.0.7 test/dummy/app/models/teste1.rb