Class: Ensembl::Core::TranslationAttrib
- Inherits:
-
DBConnection
- Object
- ActiveRecord::Base
- DBConnection
- Ensembl::Core::TranslationAttrib
- Defined in:
- lib/ensembl/core/activerecord.rb
Overview
DESCRIPTION
The TranslationAttrib class provides an interface to the translation_attrib table. This table contains attribute values for the Translation class.
This class uses ActiveRecord to access data in the Ensembl database. See the general documentation of the Ensembl module for more information on what this means and what methods are available.
USAGE
translation = Translation.find(9979)
translation.translation_attribs.each do |attr|
puts attr.attr_type.name + "\t" + attr.value
end