class SaveTaxon

Defined in:

operations/save_taxon.cr

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}, {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
FOREIGN_KEY = "taxon_id"
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Taxon::SaveOperation

actual_dist_year actual_dist_year, actual_dist_year=(_value) actual_dist_year=, attributes attributes, change_genus_brackets change_genus_brackets, change_genus_brackets=(_value) change_genus_brackets=, class_name class_name, class_name=(_value) class_name=, created_at created_at, created_at=(_value) created_at=, distribution distribution, distribution=(_value) distribution=, family family, family=(_value) family=, genus genus, genus=(_value) genus=, id id, id=(_value) id=, image1 image1, image1=(_value) image1=, image2 image2, image2=(_value) image2=, image3 image3, image3=(_value) image3=, image4 image4, image4=(_value) image4=, image5 image5, image5=(_value) image5=, japanese_name japanese_name, japanese_name=(_value) japanese_name=, kingdom kingdom, kingdom=(_value) kingdom=, name_publishedin_year name_publishedin_year, name_publishedin_year=(_value) name_publishedin_year=, note note, note=(_value) note=, order order, order=(_value) order=, permitted_params : Hash(String, Array(String) | String) permitted_params, phylum phylum, phylum=(_value) phylum=, required_attributes required_attributes, scientific_name_author scientific_name_author, scientific_name_author=(_value) scientific_name_author=, set_actual_dist_year_from_param(_value) set_actual_dist_year_from_param, 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) set_attributes, set_change_genus_brackets_from_param(_value) set_change_genus_brackets_from_param, set_class_name_from_param(_value) set_class_name_from_param, set_created_at_from_param(_value) set_created_at_from_param, set_distribution_from_param(_value) set_distribution_from_param, set_family_from_param(_value) set_family_from_param, set_genus_from_param(_value) set_genus_from_param, set_id_from_param(_value) set_id_from_param, set_image1_from_param(_value) set_image1_from_param, set_image2_from_param(_value) set_image2_from_param, set_image3_from_param(_value) set_image3_from_param, set_image4_from_param(_value) set_image4_from_param, set_image5_from_param(_value) set_image5_from_param, set_japanese_name_from_param(_value) set_japanese_name_from_param, set_kingdom_from_param(_value) set_kingdom_from_param, set_name_publishedin_year_from_param(_value) set_name_publishedin_year_from_param, set_note_from_param(_value) set_note_from_param, set_order_from_param(_value) set_order_from_param, set_phylum_from_param(_value) set_phylum_from_param, set_scientific_name_author_from_param(_value) set_scientific_name_author_from_param, set_species_from_param(_value) set_species_from_param, set_subfamily_from_param(_value) set_subfamily_from_param, set_subgenus_from_param(_value) set_subgenus_from_param, set_suborder_from_param(_value) set_suborder_from_param, set_subspecies_from_param(_value) set_subspecies_from_param, set_subtribe_from_param(_value) set_subtribe_from_param, set_tribe_from_param(_value) set_tribe_from_param, set_unknown_author_brackets_from_param(_value) set_unknown_author_brackets_from_param, set_unknown_name_publishedin_year_brackets_from_param(_value) set_unknown_name_publishedin_year_brackets_from_param, species species, species=(_value) species=, subfamily subfamily, subfamily=(_value) subfamily=, subgenus subgenus, subgenus=(_value) subgenus=, suborder suborder, suborder=(_value) suborder=, subspecies subspecies, subspecies=(_value) subspecies=, subtribe subtribe, subtribe=(_value) subtribe=, tribe tribe, tribe=(_value) tribe=, unknown_author_brackets unknown_author_brackets, unknown_author_brackets=(_value) unknown_author_brackets=, unknown_name_publishedin_year_brackets unknown_name_publishedin_year_brackets, unknown_name_publishedin_year_brackets=(_value) unknown_name_publishedin_year_brackets=

Constructor methods inherited from class Taxon::SaveOperation

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)
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)
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)
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)
new

Class methods inherited from class Taxon::SaveOperation

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, &)
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, &)
create(params : Hash, **named_args, &)
create
, 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)
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)
create!(params : Hash, **named_args)
create!
, 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, &)
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, &)
update(record : T, params : Hash, **named_args, &)
update
, 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)
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)
update!(record : T, params : Hash, **named_args)
update!

Macros inherited from class Taxon::SaveOperation

param_key(key) param_key

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 #

[View source]
def before_save #

[View source]
def change_genus_brackets #

[View source]
def class_name #

[View source]
def distribution #

[View source]
def family #

[View source]
def genus #

[View source]
def id #

[View source]
def image1 #

[View source]
def image2 #

[View source]
def image3 #

[View source]
def image4 #

[View source]
def image5 #

[View source]
def japanese_name #

[View source]
def kingdom #

[View source]
def name_publishedin_year #

[View source]
def note #

[View source]
def order #

[View source]
def phylum #

[View source]
def scientific_name_author #

[View source]
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 species #

[View source]
def subfamily #

[View source]
def subgenus #

[View source]
def suborder #

[View source]
def subspecies #

[View source]
def subtribe #

[View source]
def tribe #

[View source]
def unknown_author_brackets #

[View source]
def unknown_name_publishedin_year_brackets #

[View source]