Sha256: ac5af0743fd480a2a4a17dacd74910525d41243fccf7be67542f3c0989b59ff1

Contents?: true

Size: 515 Bytes

Versions: 24

Compression:

Stored size: 515 Bytes

Contents

# Somehow the Padrino::Reloader v14 is detecting and loading
# this file when it shouldn't.  Block it from loading for
# Padrino for now.
unless defined?(Padrino)
  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
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
traceview-3.8.4-java test/models/widget.rb
traceview-3.8.4 test/models/widget.rb
traceview-3.8.3-java test/models/widget.rb
traceview-3.8.3 test/models/widget.rb
traceview-3.8.2-java test/models/widget.rb
traceview-3.8.2 test/models/widget.rb
traceview-3.8.1-java test/models/widget.rb
traceview-3.8.1 test/models/widget.rb
traceview-3.8.0-java test/models/widget.rb
traceview-3.8.0 test/models/widget.rb
traceview-3.7.1-java test/models/widget.rb
traceview-3.7.1 test/models/widget.rb
traceview-3.7.0-java test/models/widget.rb
traceview-3.7.0 test/models/widget.rb
traceview-3.6.0-java test/models/widget.rb
traceview-3.6.0 test/models/widget.rb
traceview-3.5.1-java test/models/widget.rb
traceview-3.5.1 test/models/widget.rb
traceview-3.5.0-java test/models/widget.rb
traceview-3.5.0 test/models/widget.rb