Sha256: d3be761a882dd7fa34a7403668b9b0841a55ac7bdc7ba8643446e1d09d556d1a

Contents?: true

Size: 332 Bytes

Versions: 17

Compression:

Stored size: 332 Bytes

Contents

class Block < ActiveRecord::Base
  def do_work(*args)
    block = Block.first
    block.name = "Charlie"
    block.color = "Black"
    block.save
  end
end

class CreateBlocks < ActiveRecord::Migration[6.0]
  def change
    create_table :blocks do |t|
      t.string :name
      t.string :color
      t.timestamps
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
instana-1.193.4 test/support/apps/rails/models/block6.rb
instana-1.193.3 test/support/apps/rails/models/block6.rb
instana-1.193.3.pre1 test/support/apps/rails/models/block6.rb
instana-1.193.2 test/models/block6.rb
instana-1.192.1 test/models/block6.rb
instana-1.192.0 test/models/block6.rb
instana-1.13.0 test/models/block6.rb
instana-1.12.0 test/models/block6.rb
instana-1.11.8-java test/models/block6.rb
instana-1.11.8 test/models/block6.rb
instana-1.11.7 test/models/block6.rb
instana-1.11.6 test/models/block6.rb
instana-1.11.6-java test/models/block6.rb
instana-1.11.5 test/models/block6.rb
instana-1.11.5-java test/models/block6.rb
instana-1.11.4-java test/models/block6.rb
instana-1.11.4 test/models/block6.rb