Models
load Rails.root.join("app", "models", "budget", "investment.rb")
class Budget
class Investment
end
endAdding new methods
load Rails.root.join("app", "models", "budget", "investment.rb")
class Budget
class Investment
scope :last_month, -> { where(created_at: 1.month.ago..) }
end
endModifying existing methods
Last updated