Sha256: 4ff7d8975497c4d0b0b6a85653493009b0e261a589a721b67cffb412fd812bf5

Contents?: true

Size: 122 Bytes

Versions: 12

Compression:

Stored size: 122 Bytes

Contents

class Order < ApplicationRecord
  before_save do |row|
    row.errors.add :base, "panic" if row.name == "error"
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
act_with_flags-3.1.9 test/internal/app/models/order.rb
act_with_flags-3.1.6 test/internal/app/models/order.rb
formie-1.1.3 test/internal/app/models/order.rb
act_with_flags-3.1.5 test/internal/app/models/order.rb
formie-1.1.2 test/internal/app/models/order.rb
act_with_flags-3.1.3 test/internal/app/models/order.rb
formie-1.1.1 test/internal/app/models/order.rb
formie-1.1.0 test/internal/app/models/order.rb
act_with_flags-3.1.2 test/internal/app/models/order.rb
act_with_flags-3.1.1 test/internal/app/models/order.rb
act_with_flags-3.1.0 test/internal/app/models/order.rb
act_with_flags-3.0.1 test/internal/app/models/order.rb