Sha256: 9f4402cb4d770290664a88ef4afbbaf52cb486c9117bc74b56ae66da69cce86f

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

class Widget < ActiveRecord::Base
  def do_work(*args)
    Widget.first
  end

  def do_error(*args)
    raise "FakeTestError"
  end
end

class CreateWidgets < ActiveRecord::Migration
  def change
    create_table :widgets do |t|
      t.string :name
      t.text :description
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
traceview-3.4.0-java test/models/widget.rb
traceview-3.4.0 test/models/widget.rb