thatcher_app/app/models/p_product_spec.rb
2019-11-11 16:11:03 +01:00

8 lines
132 B
Ruby

class PProductSpec < ApplicationRecord
belongs_to :p_product
def name
self.code.to_s+" "+self.description.to_s
end
end