Scaffold error template attributes

This commit is contained in:
Maximilian Grundke
2017-07-12 11:58:18 +02:00
parent 4b87d960ba
commit 0c8c8562f5
14 changed files with 208 additions and 5 deletions

View File

@ -1,3 +1,7 @@
class ErrorTemplateAttribute < ActiveRecord::Base
has_and_belongs_to_many :error_template
def to_s
"#{id} [#{key}]"
end
end