Sha256: a6f1b9ffd98a6617920273331b4313ad2865c93e1985b0ac30c546bf9a3e60b9

Contents?: true

Size: 377 Bytes

Versions: 4

Compression:

Stored size: 377 Bytes

Contents

Object.send(:remove_const, :User)     if Object.constants.include?(:User)
Object.send(:remove_const, :Project)  if Object.constants.include?(:Project)
Object.send(:remove_const, :Idea)     if Object.constants.include?(:Idea)
Object.send(:remove_const, :Issue)    if Object.constants.include?(:Issue)
Object.send(:remove_const, :Comment)  if Object.constants.include?(:Comment)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreign_key_validation-0.0.6 spec/support/reset_models.rb
foreign_key_validation-0.0.5 spec/support/reset_models.rb
foreign_key_validation-0.0.4 spec/support/reset_models.rb
foreign_key_validation-0.0.3 spec/support/reset_models.rb