module AzaharaSchemaCurrency::AssociationAttributePatch

Public Instance Methods

currency_code_col() click to toggle source
# File lib/azahara_schema_currency/association_attribute_patch.rb, line 4
def currency_code_col
  association.name.to_s+'-'+attribute.try(:currency_code_col).to_s
end