app/models/dataset.rb
def attributes
    {
      id: @id,
      name: @name,
      application: @application,
      metadata: @metadata,
      data_path: @data_path,
      attributes_path: @attributes_path,
      provider: @provider,
      format: @format,
      layers: @layers,
      connector_url: @connector_url,
      table_name: @table_name,
      tags: @tags,
      data_overwrite: @data_overwrite,
      connector: @connector,
      type: @type,
      legend: @legend,
      status: @status,
      created_at: @created_at,
      updated_at: @updated_at,
      user_id: @user_id,
      user: @user,
      widgets: @widgets
    }
  end
# The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming Translation Validations and Conversions
def attributes
    {
      id: @id,
      name: @name,
      application: @application,
      metadata: @metadata,
      data_path: @data_path,
      attributes_path: @attributes_path,
      provider: @provider,
      format: @format,
      layers: @layers,
      connector_url: @connector_url,
      table_name: @table_name,
      tags: @tags,
      data_overwrite: @data_overwrite,
      connector: @connector,
      type: @type,
      legend: @legend,
      status: @status,
      created_at: @created_at,
      updated_at: @updated_at,
      user_id: @user_id,
      user: @user,
      widgets: @widgets
    }
  end
def attributes { id : @id , name : @name , application : @application , metadata : @metadata , data_path : @data_path , attributes_path : @attributes_path , provider : @provider , format : @format , layers : @layers , connector_url : @connector_url , table_name : @table_name , tags : @tags , data_overwrite : @data_overwrite , connector : @connector , type : @type , legend : @legend , status : @status , created_at : @created_at , updated_at : @updated_at , user_id : @user_id , user : @user , widgets : @widgets } end
The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming Translation Validations and Conversions