Sha256: 74ac9735229c3b71e82ba207b43675b14ab416b7d6760d56bfe42a9ebef74193
Contents?: true
Size: 543 Bytes
Versions: 4
Compression:
Stored size: 543 Bytes
Contents
module Skr class CustomerProject < Model has_code_identifier from: 'name' belongs_to :sku, export: true belongs_to :customer, export: true delegate_and_export :sku_code delegate_and_export :customer_code validates :sku, :customer, set: true has_many :time_entries, inverse_of: :customer_project, export: true scope :with_details, lambda { | *args | compose_query_using_detail_view(view: 'skr_customer_project_details') }, export: true end end
Version data entries
4 entries across 4 versions & 1 rubygems