Sha256: 678f11e6dd7ad1ec9b3dd187062aaa7e30cfb52edc966b4b1dc88aaddd540b45
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
module WashOut module Rails module ActiveRecord def wash_out_param_map types = { text: :string, float: :double, decimal: :double, timestamp: :string } map = {} columns_hash.each do |key, column| type = column.type type = types[type] if types.has_key?(type) map[key] = type end map end def wash_out_param_name(soap_config = nil) WashOut.normalize(name.underscore.gsub('/', '.'), soap_config) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wash_out-0.10.0.beta.1 | lib/wash_out/rails/active_record.rb |