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-1.5.13 test/dummy/app/models/teste1.rb
templus_models-1.5.12 test/dummy/app/models/teste1.rb
templus_models-1.5.11 test/dummy/app/models/teste1.rb
templus_models-1.5.10 test/dummy/app/models/teste1.rb
templus_models-1.5.9 test/dummy/app/models/teste1.rb
templus_models-1.5.8 test/dummy/app/models/teste1.rb
templus_models-1.5.7 test/dummy/app/models/teste1.rb
templus_models-1.5.6 test/dummy/app/models/teste1.rb
templus_models-1.5.5 test/dummy/app/models/teste1.rb
templus_models-1.5.4 test/dummy/app/models/teste1.rb
templus_models-1.5.3 test/dummy/app/models/teste1.rb
templus_models-1.5.2 test/dummy/app/models/teste1.rb
templus_models-1.5.1 test/dummy/app/models/teste1.rb
templus_models-1.5.0 test/dummy/app/models/teste1.rb
templus_models-1.4.4 test/dummy/app/models/teste1.rb
templus_models-1.4.3 test/dummy/app/models/teste1.rb
templus_models-1.4.2 test/dummy/app/models/teste1.rb
templus_models-1.4.1 test/dummy/app/models/teste1.rb
templus_models-1.4.0 test/dummy/app/models/teste1.rb
templus_models-1.3.9 test/dummy/app/models/teste1.rb