You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
316 B
9 lines
316 B
6 years ago
|
class SubRepertoire < ActiveRecord::Base
|
||
|
belongs_to :repertoire
|
||
|
has_many :tag_repertoires, :dependent => :destroy, :order => "tag_repertoires.updated_at desc"
|
||
|
#has_many :mirror_repositories
|
||
|
attr_accessible :id, :name, :repertoire_id
|
||
|
scope :field_for_list, lambda{select([:id, :name, :repertoire_id])}
|
||
|
|
||
|
end
|