Class: Tag

Inherits:
ApplicationRecord show all
Defined in:
app/models/tag.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

define_decrypted_attribute, define_decrypted_attributes, #errors_in_bullet_points, primary_connection, special_connection

Instance Method Details

#tag_nameObject



7
8
9
# File 'app/models/tag.rb', line 7

def tag_name
  I18n.t("tags.names.#{name}")
end