Sha256: 8923210eb76e3cfb72f1c7e67cf228dc721a4638f80657f7b64c5b5b0ca1ae46

Contents?: true

Size: 332 Bytes

Versions: 9

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true
class Thing < ActiveRecord::Base

  measured_length :length, :width

  measured Measured::Length, :height
  measured Measured::Volume, :volume

  measured_weight :total_weight

  measured "Measured::Weight", :extra_weight

  measured_length :length_with_max_on_assignment, {max_on_assignment: 500}
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
measured-3.1.0 test/internal/app/models/thing.rb
measured-3.0.0 test/internal/app/models/thing.rb
measured-rails-2.8.2 test/support/models/thing.rb
measured-rails-2.8.1 test/support/models/thing.rb
measured-rails-2.8.0 test/support/models/thing.rb
measured-rails-2.7.1 test/support/models/thing.rb
measured-rails-2.6.0 test/support/models/thing.rb
measured-rails-2.5.2 test/support/models/thing.rb
measured-rails-2.5.1 test/support/models/thing.rb