class Taxon::SaveOperation

Direct Known Subclasses

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: kingdom, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: phylum, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: class_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: order, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: suborder, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: family, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subfamily, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: tribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subtribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: genus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subgenus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: species, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subspecies, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: scientific_name_author, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: name_publishedin_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: true}, {name: change_genus_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_author_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_name_publishedin_year_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: actual_dist_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: japanese_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: distribution, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Class Method Detail

def self.create(params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, with params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, with params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Macro Detail

macro param_key(key) #

Instance Method Detail

def actual_dist_year #

def actual_dist_year=(_value) #

def attributes #

def change_genus_brackets #

def change_genus_brackets=(_value) #

def class_name #

def class_name=(_value) #

def created_at #

def created_at=(_value) #

def distribution #

def distribution=(_value) #

def family #

def family=(_value) #

def genus #

def genus=(_value) #

def id #

def id=(_value) #

def image1 #

def image1=(_value) #

def image2 #

def image2=(_value) #

def image3 #

def image3=(_value) #

def image4 #

def image4=(_value) #

def image5 #

def image5=(_value) #

def japanese_name #

def japanese_name=(_value) #

def kingdom #

def kingdom=(_value) #

def name_publishedin_year #

def name_publishedin_year=(_value) #

def note #

def note=(_value) #

def order #

def order=(_value) #

def permitted_params : Hash(String, Array(String) | String) #

def phylum #

def phylum=(_value) #

def required_attributes #

def scientific_name_author #

def scientific_name_author=(_value) #

def set_actual_dist_year_from_param(_value) #

def set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def set_change_genus_brackets_from_param(_value) #

def set_class_name_from_param(_value) #

def set_created_at_from_param(_value) #

def set_distribution_from_param(_value) #

def set_family_from_param(_value) #

def set_genus_from_param(_value) #

def set_id_from_param(_value) #

def set_image1_from_param(_value) #

def set_image2_from_param(_value) #

def set_image3_from_param(_value) #

def set_image4_from_param(_value) #

def set_image5_from_param(_value) #

def set_japanese_name_from_param(_value) #

def set_kingdom_from_param(_value) #

def set_name_publishedin_year_from_param(_value) #

def set_note_from_param(_value) #

def set_order_from_param(_value) #

def set_phylum_from_param(_value) #

def set_scientific_name_author_from_param(_value) #

def set_species_from_param(_value) #

def set_subfamily_from_param(_value) #

def set_subgenus_from_param(_value) #

def set_suborder_from_param(_value) #

def set_subspecies_from_param(_value) #

def set_subtribe_from_param(_value) #

def set_tribe_from_param(_value) #

def set_unknown_author_brackets_from_param(_value) #

def set_unknown_name_publishedin_year_brackets_from_param(_value) #

def species #

def species=(_value) #

def subfamily #

def subfamily=(_value) #

def subgenus #

def subgenus=(_value) #

def suborder #

def suborder=(_value) #

def subspecies #

def subspecies=(_value) #

def subtribe #

def subtribe=(_value) #

def tribe #

def tribe=(_value) #

def unknown_author_brackets #

def unknown_author_brackets=(_value) #

def unknown_name_publishedin_year_brackets #

def unknown_name_publishedin_year_brackets=(_value) #