aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/numeric_data.rb
blob: c6e025a9ce38522d0aed06820a76389099c14553 (plain) (tree)
1
2
3
4
5
6
7
8

                                      




                                                                        
   
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
end