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