Class: FixedAsset
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- FixedAsset
- Defined in:
- app/models/fixed_asset.rb
Class Method Summary collapse
Class Method Details
.search(property_id) ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/models/fixed_asset.rb', line 13 def self.search(property_id) if property_id where('property_id = ?', property_id.to_s) else all end end |