Class: Serial

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Housekeeping::Users, Shared::AlternateValues, Shared::Identifiable, Shared::Notable, Shared::Taggable, SoftValidation
Defined in:
app/models/serial.rb

Overview

Serial - represents a journal or other serial publication Currently the only attribute is the full_name. It will support abbreviations through Shared::AlternateValues. Serials are Notable, Taggable, and Identifiable.

Instance Method Summary collapse

Methods included from Housekeeping::Users

#alive?, #set_created_by_id, #set_updated_by_id

Methods included from SoftValidation

#clear_soft_validations, #fix_soft_validations, #soft_fixed?, #soft_valid?, #soft_validate, #soft_validated?, #soft_validations

Instance Method Details

#duplicate?Boolean

Instance methods

Returns:

  • (Boolean)


34
35
36
37
38
# File 'app/models/serial.rb', line 34

def duplicate?
  # Boolean is there another serial with the same name?
  #TODO write this
  False
end