def read_belongs_to(model_name, configuration,force_reload=false)
      if @config[:"belongs_to"][model_name.to_sym].kind_of? Hash
        column = @config[:"belongs_to"][model_name.to_sym][:foreign_key] || :"#{model_name}_id"
      else
        column = :"#{model_name}_id"
      end
      class_name = @config[:"belongs_to"][model_name.to_sym][:class_name]
      type = get_type column
      type_class = get_type_class type
      
      # We try to get the model
      # eval "User.find(...try(:first).try(:id))"
      eval "#{class_name}.find(#{get_value(column)})"
      
    end
def read_belongs_to(model_name, configuration,force_reload=false)
      if @config[:"belongs_to"][model_name.to_sym].kind_of? Hash
        column = @config[:"belongs_to"][model_name.to_sym][:foreign_key] || :"#{model_name}_id"
      else
        column = :"#{model_name}_id"
      end
      class_name = @config[:"belongs_to"][model_name.to_sym][:class_name]
      type = get_type column
      type_class = get_type_class type
      
      # We try to get the model
      # eval "User.find(...try(:first).try(:id))"
      eval "#{class_name}.find(#{get_value(column)})"
      
    end
Model associations