vendor/plugins/enum-column/lib/enum/enum_adapter.rb
def type_cast_code(var_name)
      if type == :enum
        "ActiveRecordEnumerations::Column.value_to_symbol(#{var_name})"
      else
        super
      end
    end
# Code to convert to a symbol.
Code to convert to a symbol.
Code to convert to a symbol .
def type_cast_code(var_name)
      if type == :enum
        "ActiveRecordEnumerations::Column.value_to_symbol(#{var_name})"
      else
        super
      end
    end
def type_cast_code ( var_name ) if type == :enum "ActiveRecordEnumerations::Column.value_to_symbol(#{var_name})" else super end end
Code to convert to a symbol.
Code to convert to a symbol .
var_name