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








                                        
module Arel
  module Attributes
    class Float < Attribute
      def type_cast(val)
        type_cast_to_numeric(val, :to_f)
      end
    end
  end
end