lib/i18n_alchemy/proxy.rb
def detect_parser(column)
        case
        when column.number?
          NumericParser
        when column.type == :date
          DateParser
        when column.type == :datetime || column.type == :timestamp
          TimeParser
        end
      end
# TODO: cannot assume _id is always a foreign key.
# Find a better way to find that and skip these columns.
cannot assume _id is always a foreign key.
Find a better way to find that and skip these columns.
cannot assume _id is always a foreign key . Find a better way to find that and skip these columns .
def detect_parser(column)
        case
        when column.number?
          NumericParser
        when column.type == :date
          DateParser
        when column.type == :datetime || column.type == :timestamp
          TimeParser
        end
      end
def detect_parser ( column ) case when column . number? NumericParser when column . type == :date DateParser when column . type == :datetime || column . type == :timestamp TimeParser end end
TODO: cannot assume _id is always a foreign key.
TODO : cannot assume _id is always a foreign key .
column