Sha256: a8c82910f5b01cf98e4a87809370d0fdb51a0d32f184425ae70b3a144821067d

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 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

4 entries across 4 versions & 1 rubygems

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