Class Expense
In: app/models/expense.rb
Parent: ActiveRecord::Base

(試験用)経費情報のモデル。 ProductDetailed 向けの主テーブルのクラスの例。

Methods

Public Instance methods

[Source]

    # File app/models/expense.rb, line 30
30:   def year_month
31:     "#{year}/#{month}"
32:   end

[Validate]