Class: InvestmentType
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- InvestmentType
- Defined in:
- app/models/investment_type.rb
Class Method Summary collapse
-
.get_all_investment_types ⇒ Object
Get All Investment Type.
Class Method Details
.get_all_investment_types ⇒ Object
Get All Investment Type
9 10 11 |
# File 'app/models/investment_type.rb', line 9 def self.get_all_investment_types Hash[*InvestmentType.order(:name).pluck(:id, :name).flatten] end |