aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/algebra/attributes/decimal.rb
blob: bf6587fa3476157bca0b936abd4cbade9b4c4bfa (plain) (tree)
1
2
3
4
5
6
7
8
9








                                        
module Arel
  module Attributes
    class Decimal < Attribute
      def type_cast(val)
        type_cast_to_numeric(val, :to_d)
      end
    end
  end
end