Class: Network

Inherits:
ActiveRecord::Base show all
Defined in:
lib/six-updater-web/app/models/network.rb

Instance Method Summary collapse

Methods inherited from ActiveRecord::Base

#associated_valid?, #no_errors_in_associated?, #save_associated, #save_associated!, #save_with_unsaved_flag, #unsaved=, #unsaved?

Instance Method Details

#to_labelObject



6
7
8
# File 'lib/six-updater-web/app/models/network.rb', line 6

def to_label
  "#{self.name} (#{self.repositories.size})"
end