activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb
# Does not quote function default values for UUID columns
Does not quote function default values for UUID columns
Does not quote function default values for UUID columns
def quote_default_expression(value, column) 
          if column.type == :uuid && value =~ /\(\)/
            value
          elsif column.respond_to?(:array?)
            value = type_cast_from_column(column, value)
            quote(value)
          else
            super
          end
        end
def quote_default_expression ( value , column ) if column . type == :uuid && value =~ / \( \) / value elsif column . respond_to? ( :array? ) value = type_cast_from_column ( column , value ) quote ( value ) else super end end
Does not quote function default values for UUID columns
Does not quote function default values for UUID columns
#:nodoc:
value
<not_specific>
column
<not_specific>