Class: Breed

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
Earth::Model
Defined in:
lib/earth/pet/breed.rb

Constant Summary collapse

TABLE_STRUCTURE =
<<-EOS

CREATE TABLE breeds
  (
     name         CHARACTER VARYING(255) NOT NULL PRIMARY KEY,
     species_name CHARACTER VARYING(255),
     weight       FLOAT,
     weight_units CHARACTER VARYING(255)
  );

EOS

Method Summary

Methods included from Earth::Model

extend_mining, extended, registry