Sha256: 2d16b8baffb724d20ba8474452fa9e1b188d6010ef6930a8850746cb0b764d27

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

class NumericData < ActiveRecord::Base
  self.table_name = "numeric_data"
  # Decimal columns with 0 scale being automatically treated as integers
  # is deprecated, and will be removed in a future version of Rails.
  attribute :world_population, :big_integer
  attribute :my_house_population, :big_integer
  attribute :atoms_in_universe, :big_integer

  alias_attribute :new_bank_balance, :bank_balance
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ibm_db-5.5.0 test/models/numeric_data.rb
ibm_db-5.4.1 test/models/numeric_data.rb
ibm_db-5.4.0 test/models/numeric_data.rb
ibm_db-5.3.2 test/models/numeric_data.rb
ibm_db-5.3.1 test/models/numeric_data.rb