Sha256: 77edcd911ca73303336492322256675bc03790f204c3936ca998fefdade2b94e

Contents?: true

Size: 398 Bytes

Versions: 64

Compression:

Stored size: 398 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2017

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

64 entries across 64 versions & 1 rubygems

Version Path
instana-1.209.6 test/support/apps/rails/models/block6.rb
instana-1.209.5 test/support/apps/rails/models/block6.rb
instana-1.209.4 test/support/apps/rails/models/block6.rb
instana-1.209.3 test/support/apps/rails/models/block6.rb
instana-1.209.2 test/support/apps/rails/models/block6.rb
instana-1.209.1 test/support/apps/rails/models/block6.rb
instana-1.209.0.pre3 test/support/apps/rails/models/block6.rb
instana-1.209.0.pre2 test/support/apps/rails/models/block6.rb
instana-1.209.0.pre1 test/support/apps/rails/models/block6.rb
instana-1.208.0 test/support/apps/rails/models/block6.rb
instana-1.207.0 test/support/apps/rails/models/block6.rb
instana-1.206.0 test/support/apps/rails/models/block6.rb
instana-1.205.0 test/support/apps/rails/models/block6.rb
instana-1.204.0 test/support/apps/rails/models/block6.rb
instana-1.204.0.pre3 test/support/apps/rails/models/block6.rb
instana-1.204.0.pre2 test/support/apps/rails/models/block6.rb
instana-1.204.0.pre1 test/support/apps/rails/models/block6.rb
instana-1.203.2 test/support/apps/rails/models/block6.rb
instana-1.203.1 test/support/apps/rails/models/block6.rb
instana-1.203.0 test/support/apps/rails/models/block6.rb